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.
Source Code
function Get_last_MPI(comm)result(last)integer,optional::comminteger::comm_integer::sizeinteger::ranklogical::lastcomm_=MPI_COMM_WORLD;if(present(comm))comm_=commif(comm_/=Mpi_Comm_Null)then call MPI_Comm_rank(comm_,rank,ierr)call MPI_Comm_size(comm_,size,ierr)last=.false.if(rank==size-1)last=.true.elselast=.false.endif end function Get_last_MPI