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.
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 get_callbacks(state,callbacks,rc)use mapl_ESMF_Interfacesuse mapl_CallbackMaptype(ESMF_State),intent(inout)::statetype(CallbackMap),pointer,intent(out)::callbacksinteger,optional,intent(out)::rcinteger::statusinteger(kind=ESMF_KIND_I4),allocatable::valueList(:)logical::isPresenttype(ESMF_Info)::infohtype CallbackMapWrappertype(CallbackMap),pointer::mapend type type(CallbackMapWrapper)::wrappercall ESMF_InfoGetFromHost(state,infoh,_RC)isPresent=ESMF_InfoIsPresent(infoh,'MAPL_CALLBACK_MAP',_RC)if(.not.isPresent)then! create callback map for this stateallocate(callbacks)wrapper%map=>callbacksvalueList=transfer(wrapper,valueList)call ESMF_InfoSet(infoh,key='MAPL_CALLBACK_MAP',values=valueList,_RC)end if! Ugly hack to decode ESMF attribute as a gFTL mapvalueList=transfer(wrapper,valueList)call ESMF_InfoGet(infoh,key='MAPL_CALLBACK_MAP',values=valueList,_RC)wrapper=transfer(valueList,wrapper)callbacks=>wrapper%map_RETURN(ESMF_SUCCESS)end subroutine get_callbacks