positionofval Interface

public interface positionofval

return the position of a given value in the array val, which is what you usually want to know. it is the index of a given value

Calls

interface~~positionofval~4~~CallsGraph interface~positionofval~4 positionofval proc~posofval_label posofval_label interface~positionofval~4->proc~posofval_label interface~sortedposofval~4 sortedposofval proc~posofval_label->interface~sortedposofval~4 proc~sortposofval_label sortposofval_label interface~sortedposofval~4->proc~sortposofval_label

Called by

add_all_virtual_childrenwpositionofval
w
add_ghostFromFinerw
w
check_opVar_prerequisitesw
w
check_parallel_singlelevel_faceDescw
w
check_serial_multilevel_faceDescw
w
check_serial_singlelevel_faceDescw
w
check_variableOperations_byElementw
w
check_variableOperations_byIndexw
w
check_variableOperations_byPointw
w
identify_additionalNeighw
w
identify_halow
w
identify_local_elementw
w
request_remoteHalosw
w
setup_indices_spacetimew
w
tem_adapt_dump_newMeshw
w
tem_addDep_downw
w
tem_addDep_upw
w
tem_appendFace_prpw
w
tem_build_faceRecvBuffersw
w
tem_build_faceSendBuffersw
w
tem_build_treeHorizontalDepw
w
tem_comm_createBufferw
w
tem_create_varMapw
w
tem_debug_HorizontalDependenciesw
w
tem_eTypeOfIdw
w
tem_timer_dumplabeledw
w
tem_variable_combine_Testw
w
tem_variable_evaltype_testw
w
tem_variable_extract_testw
w
tem_varSys_append_derVarw
w
tem_varSys_append_luaVarw
w
tem_varSys_deriveVar_testw
w
tem_varSys_stateVar_testw
w
tem_varSys_stfunVar_testw
w
tem_varSys_testw
w

Contents


Module Procedures

public function posofval_label(me, val, nextifnotfound, lower, upper) result(pos)

the actual position of a given value in the dynamic array

Read more…

Arguments

TypeIntentOptionalAttributesName
type(dyn_labelarray_type), intent(in) :: me
character(len=*), intent(in) :: val
logical, intent(in), optional :: nextifnotfound

flag to indicate, if the position of the next entry in the sorted list should be returned instead, if val is not found.

integer, intent(in), optional :: lower
integer, intent(in), optional :: upper

Return Value integer