Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
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
subroutine f_esmf_stateaddarray(state,array,rc)#undef ESMF_METHOD#define ESMF_METHOD "f_esmf_stateaddarray"use ESMF_UtilTypesModuse ESMF_LogErrMod!use ESMF_BaseMod ! ESMF base classuse ESMF_StateModuse ESMF_ArrayCreateModimplicit none type(ESMF_State)::state!inouttype(ESMF_Array)::array!ininteger,intent(out)::rc!out! local variabletype(ESMF_Array)::farrayinteger::localrc! Must first create a proper ESMF_Array that contains the ! required "isInit" class member.! Initialize return code; assume routine not implementedrc=ESMF_RC_NOT_IMPL! Copy the this pointer a new ESMF_Array objectcall ESMF_ArrayCopyThis(array,farray,localrc)if(ESMF_LogFoundError(localrc,ESMF_ERR_PASSTHRU,&ESMF_CONTEXT,rcToReturn=rc))return! set the valid init code of the new objectcall ESMF_ArraySetInitCreated(farray,localrc)if(ESMF_LogFoundError(localrc,ESMF_ERR_PASSTHRU,&ESMF_CONTEXT,rcToReturn=rc))return call ESMF_StateAdd(state=state,arrayList=(/farray/),rc=localrc)if(ESMF_LogFoundError(localrc,ESMF_ERR_PASSTHRU,&ESMF_CONTEXT,rcToReturn=rc))returnrc=localrcend subroutine f_esmf_stateaddarray