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 MAPL_ExchangeGridSet(GC,EXCH,RC)! !ARGUMENTS:type(ESMF_GridComp),intent(INOUT)::GC! Gridded componenttype(MAPL_LocStream),intent(IN)::EXCH! Exchange gridinteger,optional,intent(OUT)::RC! Error code:!EOPI! ErrLog Variablescharacter(len=ESMF_MAXSTR)::IAmcharacter(len=ESMF_MAXSTR)::comp_nameinteger::status! Local derived type aliasestype(MAPL_MetaComp),pointer::STATEinteger::Itype(ESMF_GridComp),pointer::gridcompIam="MAPL_ExchangeGridSet"call ESMF_GridCompGet(GC,NAME=comp_name,RC=status)_VERIFY(status)Iam=trim(comp_name)//trim(Iam)! Retrieve the pointer to the internal state.! -------------------------------------------call MAPL_InternalStateGet(GC,STATE,RC=status)_VERIFY(status)STATE%EXCHANGEGRID=EXCHdo I=1,STATE%get_num_children()gridcomp=>STATE%GET_CHILD_GRIDCOMP(I)call MAPL_ExchangeGridSet(gridcomp,exch,RC=status)_VERIFY(status)end do_RETURN(ESMF_SUCCESS)end subroutine MAPL_ExchangeGridSet