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.
FUNCTION reallocate_im(p,n,m)INTEGER(I4B),DIMENSION(:,:),POINTER::p,reallocate_imINTEGER(I4B),INTENT(IN)::n,mINTEGER(I4B)::nold,mold,ierrallocate(reallocate_im(n,m),stat=ierr)if(ierr/=0)call&nrerror('reallocate_im: problem in attempt to allocate memory')if(.not.associated(p))RETURNnold=size(p,1)mold=size(p,2)reallocate_im(1:min(nold,n),1:min(mold,m))=&p(1:min(nold,n),1:min(mold,m))deallocate(p)END FUNCTION reallocate_im