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.
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
subroutine stats_write_kslice_zcoord(ncid)implicit noneinteger,intent(in)::ncidinteger::varid,ierr,kreal::zcf(nkslice),zch(nkslice)do k=1,nkslicezcf(k)=zf(kslice(k));zch(k)=zh(kslice(k))end doierr=nf90_inq_varid(ncid,'zt',varid)if(ierr==nf90_noerr)thenierr=nf90_redef(ncid)ierr=nf90_put_att(ncid,varid,'kslice_indices',kslice(1:nkslice))ierr=nf90_put_att(ncid,varid,'long_name','z-coordinate of k-slices (cell center)')ierr=nf90_enddef(ncid)ierr=nf90_put_var(ncid,varid,zcf)end ifierr=nf90_inq_varid(ncid,'zm',varid)if(ierr==nf90_noerr)thenierr=nf90_redef(ncid)ierr=nf90_put_att(ncid,varid,'kslice_indices',kslice(1:nkslice))ierr=nf90_put_att(ncid,varid,'long_name','z-coordinate of k-slices (cell edge)')ierr=nf90_enddef(ncid)ierr=nf90_put_var(ncid,varid,zch)end if end subroutine stats_write_kslice_zcoord