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
recursive subroutine ESMF_CompValidate(compp,rc)!! !ARGUMENTS:type(ESMF_CompClass),pointer::comppinteger,intent(out),optional::rc!! !DESCRIPTION:! Routine to ensure a Component is valid.!!EOPI!------------------------------------------------------------------------------integer::localrc! local return codetype(ESMF_Status)::baseStatus! Initialize return code; assume not implemented until success is certainlocalrc=ESMF_RC_NOT_IMPLif(present(rc))rc=ESMF_RC_NOT_IMPL! Test incoming compp objectif(.not.associated(compp))then call ESMF_LogSetError(ESMF_RC_OBJ_BAD,&msg="Not a valid pointer to ESMF Component object",&ESMF_CONTEXT,rcToReturn=rc)return endif! Check init status of argumentsESMF_INIT_CHECK_DEEP(ESMF_CompClassGetInit,compp,rc)call ESMF_BaseGetStatus(compp%base,baseStatus,rc=localrc)if(ESMF_LogFoundError(localrc,&ESMF_ERR_PASSTHRU,&ESMF_CONTEXT,rcToReturn=rc))return if(baseStatus/=ESMF_STATUS_READY)then call ESMF_LogSetError(ESMF_RC_OBJ_BAD,&msg="Unini/destroyed comp",&ESMF_CONTEXT,rcToReturn=rc)return endif! TODO: add code here! Return successfullyif(present(rc))rc=ESMF_SUCCESSend subroutine ESMF_CompValidate