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 user_initP3(comp,importState,exportState,clock,rc)type(ESMF_GridComp)::comptype(ESMF_State)::importState,exportStatetype(ESMF_Clock)::clockinteger,intent(out)::rc! Local variablestype(ESMF_Field)::field! Initialize return coderc=ESMF_SUCCESSprint*,"User Comp2 Init phase=3 starting"call ESMF_LogWrite(msg='User Comp2 Init phase=3 starting',&logmsgFlag=ESMF_LOGMSG_TRACE)! Access Field with shared Grid that is available in the importStatecall ESMF_StateGet(importState,"dstField",field,rc=rc)if(rc/=ESMF_SUCCESS)return! bail out! Allocate memory for data by finishing the creation of the Fieldcall ESMF_FieldEmptyComplete(field,typekind=ESMF_TYPEKIND_R8,rc=rc)if(rc/=ESMF_SUCCESS)return! bail outcall ESMF_LogWrite(msg='User Comp2 Init phase=3 complete',&logmsgFlag=ESMF_LOGMSG_TRACE)print*,"User Comp2 Init phase=3 returning"end subroutine user_initP3