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.
SUBROUTINE nemo_mesh_size(msh)IMPLICIT NONE TYPE(mesh),INTENT(IN)::mshINTEGER(kind=nemo_int_long_)::iszREAL::sz,sz1INTEGER::icontxt,mypnum,nprocs,ipicontxt=icontxt_()mypnum=mypnum_()nprocs=nprocs_()isz=msh%nemo_sizeof()sz=iszIF(mypnum==0)THEN WRITE(*,'()')WRITE(*,*)'On process',mypnum,'mesh size',szEND IF DO ip=1,nprocs-1IF(mypnum==ip)THEN CALL psb_snd(icontxt,sz,0)ELSEIF(mypnum==0)THEN CALL psb_rcv(icontxt,sz1,ip)WRITE(*,*)'On process',ip,'mesh size',sz1END IF END DO CALL psb_sum(icontxt,isz)IF(mypnum==0)THEN WRITE(*,*)'Total size of mesh :',iszWRITE(*,*)ENDIFEND SUBROUTINE nemo_mesh_size