findloc_transitions Module Function

public pure module function findloc_transitions(targs, search) result(idxtarg)

Find the indices for each element in targs that map to the elements in search. Return 0 if there is no such mapping.

Arguments

Type IntentOptional Attributes Name
type(asymtop_rot_transition_type), intent(in) :: targs(:)
type(asymtop_rot_transition_type), intent(in) :: search(:)

Return Value integer, allocatable, (:)

TARGS -> SEARCH mapping