Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Source Code
impure elemental function ESMF_SciCompEQ(scicomp1,scicomp2)! ! !RETURN VALUE:logical::ESMF_SciCompEQ! !ARGUMENTS:type(ESMF_SciComp),intent(in)::scicomp1type(ESMF_SciComp),intent(in)::scicomp2!! !DESCRIPTION:! Test if both {\tt scicomp1} and {\tt scicomp2} alias the same ESMF SciComp ! object.!!EOPI!-------------------------------------------------------------------------------ESMF_INIT_TYPEscinit1,scinit2integer::localrc1,localrc2logical::lval1,lval2! Use the following logic, rather than "ESMF-INIT-CHECK-DEEP", to gain ! init checks on both args, and in the case where both are uninitialized,! to distinguish equality based on uninitialized type (uncreated,! deleted).! TODO: Consider moving this logic to C++: use Base class? status?! Or replicate logic for C interface also.! check inputsscinit1=ESMF_SciCompGetInit(scicomp1)scinit2=ESMF_SciCompGetInit(scicomp2)! TODO: this line must remain split in two for SunOS f90 8.3 127000-03if(scinit1.eq.ESMF_INIT_CREATED.and.&scinit2.eq.ESMF_INIT_CREATED)thenESMF_SciCompEQ=associated(scicomp1%compp,scicomp2%compp)elseESMF_SciCompEQ=ESMF_FALSEendif end function ESMF_SciCompEQ