tem_TreeIDComparison Function

public elemental function tem_TreeIDComparison(left, right) result(relation)

Compare Position of two treeIDs in the linearized tree This is relatively expansive, therefore the result should be stored, if more than one comparison of the same treeIDs has to be done. Result: -1: left is lower than right 0: left is same than right 1: left is higher than right

Arguments

TypeIntentOptionalAttributesName
integer(kind=long_k), intent(in) :: left

candidate treeID

integer(kind=long_k), intent(in) :: right

candidate treeID

Return Value integer

relation between the treeIDs


Calls

proc~~tem_treeidcomparison~~CallsGraph proc~tem_treeidcomparison tem_TreeIDComparison proc~tem_pathof tem_PathOf proc~tem_treeidcomparison->proc~tem_pathof proc~tem_pathcomparison tem_PathComparison proc~tem_treeidcomparison->proc~tem_pathcomparison

Contents


Variables

TypeVisibilityAttributesNameInitial
type(tem_path_type), private :: left_path
type(tem_path_type), private :: right_path