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
subroutine init(gcomp,importState,exportState,clock,rc)! Abide to ESMF-prescribed Fortran interfacetype(ESMF_GridComp)::gcomptype(ESMF_State)::importState,exportStatetype(ESMF_Clock)::clockinteger,intent(out)::rctype(ESMF_Field)::field1,field2,field3rc=ESMF_SUCCESS! indicate success... unless error is foundfield1=ESMF_FieldEmptyCreate(name="Field1",rc=rc)if(ESMF_LogFoundError(rcToCheck=rc,msg=ESMF_LOGERR_PASSTHRU,&line=__LINE__,file=__FILE__))returnfield2=ESMF_FieldEmptyCreate(name="Field2",rc=rc)if(ESMF_LogFoundError(rcToCheck=rc,msg=ESMF_LOGERR_PASSTHRU,&line=__LINE__,file=__FILE__))returnfield3=ESMF_FieldEmptyCreate(name="Field3",rc=rc)if(ESMF_LogFoundError(rcToCheck=rc,msg=ESMF_LOGERR_PASSTHRU,&line=__LINE__,file=__FILE__))return call ESMF_StateAdd(exportState,[field1,field2,field3],rc=rc)if(ESMF_LogFoundError(rcToCheck=rc,msg=ESMF_LOGERR_PASSTHRU,&line=__LINE__,file=__FILE__))return end subroutine init