OpenCMISS-Iron Internal API Documentation
lists::list_search_linear Interface Reference

Searches a list using the linear search method. More...

Private Member Functions

subroutine list_search_linear_intg_array (A, VALUE, POSITION, ERR, ERROR,)
 Searches an integer array list A for VALUE using the linear search method. If the search is successful POSITION contains the index of the position of VALUE in the list otherwise POSITION is zero. More...
 
subroutine list_search_linear_sp_array (A, VALUE, POSITION, ERR, ERROR,)
 Searches a single precision real array list A for VALUE using the linear search method. If the search is successful POSITION contains the index of the position of VALUE in the list otherwise POSITION is zero. More...
 
subroutine list_search_linear_dp_array (A, VALUE, POSITION, ERR, ERROR,)
 Searches a double precision real array list A for VALUE using the linear search method. If the search is successful POSITION contains the index of the position of VALUE in the list otherwise POSITION is zero. More...
 

Detailed Description

Searches a list using the linear search method.

Definition at line 238 of file lists.f90.

Member Function/Subroutine Documentation

subroutine lists::list_search_linear::list_search_linear_dp_array ( real(dp), dimension(:), intent(in)  A,
real(dp), intent(in)  VALUE,
integer(intg), intent(out)  POSITION,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
private

Searches a double precision real array list A for VALUE using the linear search method. If the search is successful POSITION contains the index of the position of VALUE in the list otherwise POSITION is zero.

Parameters
[in]aThe list to search
[in]valueThe value to search for
[out]positionOn exit, the position of value in the list. If value does not exist in the list the returned position is zero.
[out]errThe error code
[out]errorThe error string

Definition at line 3082 of file lists.f90.

subroutine lists::list_search_linear::list_search_linear_intg_array ( integer(intg), dimension(:), intent(in)  A,
integer(intg), intent(in)  VALUE,
integer(intg), intent(out)  POSITION,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
private

Searches an integer array list A for VALUE using the linear search method. If the search is successful POSITION contains the index of the position of VALUE in the list otherwise POSITION is zero.

Parameters
[in]aThe list to search
[in]valueThe value to search for
[out]positionOn exit, the position of value in the list. If value does not exist in the list the returned position is zero.
[out]errThe error code
[out]errorThe error string

Definition at line 2962 of file lists.f90.

subroutine lists::list_search_linear::list_search_linear_sp_array ( real(sp), dimension(:), intent(in)  A,
real(sp), intent(in)  VALUE,
integer(intg), intent(out)  POSITION,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
private

Searches a single precision real array list A for VALUE using the linear search method. If the search is successful POSITION contains the index of the position of VALUE in the list otherwise POSITION is zero.

Parameters
[in]aThe list to search
[in]valueThe value to search for
[out]positionOn exit, the position of value in the list. If value does not exist in the list the returned position is zero.
[out]errThe error code
[out]errorThe error string

Definition at line 3042 of file lists.f90.