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.
program mainuse my_gcuse esmfuse mapl_ErrorHandlingModuse iso_fortran_env,only:INT64implicit noneinteger::statustype(GC_T),allocatable::gcs(:)integer,parameter::N_GCS=100integer,parameter::N_STEPS=10integer::i,jreal::t_all,t_oneinteger(kind=INT64)::c0,c1,crinteger::rc,userStatuscall ESMF_Initialize(_RC)allocate(gcs(N_GCS))do i=1,N_GCSgcs(i)=make_gc_t(_RC)end do call system_clock(c0,cr)do j=1,N_STEPSdo i=1,N_GCScall ESMF_GridCompRun(gcs(i)%gridcomp,importState=gcs(i)%importState,exportState=gcs(i)%exportState,clock=gcs(i)%clock,userrc=userStatus,_RC)_VERIFY(userStatus)end do end do call system_clock(c1)t_all=real(c1-c0)/real(cr)t_one=t_all/real(N_GCS*N_STEPS)print*,'Time: ',t_one,t_allcall ESMF_Finalize(_RC)end program main