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_islice_xcoord(ncid)implicit noneinteger,intent(in)::ncidinteger::varid,ierr,i,mreal::xcf(local_ntislice),xch(local_ntislice)integer::idx(local_ntislice)m=0do i=1,nisliceif(islice(i)>=zstart(1).and.islice(i)<=zend(1))thenm=m+1xcf(m)=xf(islice(i));xch(m)=xh(islice(i));idx(m)=islice(i)end if end doierr=nf90_inq_varid(ncid,'xt',varid)if(ierr==nf90_noerr)thenierr=nf90_redef(ncid)ierr=nf90_put_att(ncid,varid,'islice_indices',idx)ierr=nf90_put_att(ncid,varid,'long_name','x-coordinate of i-slices (cell center)')ierr=nf90_enddef(ncid)ierr=nf90_put_var(ncid,varid,xcf)end ifierr=nf90_inq_varid(ncid,'xm',varid)if(ierr==nf90_noerr)thenierr=nf90_redef(ncid)ierr=nf90_put_att(ncid,varid,'islice_indices',idx)ierr=nf90_put_att(ncid,varid,'long_name','x-coordinate of i-slices (cell edge)')ierr=nf90_enddef(ncid)ierr=nf90_put_var(ncid,varid,xch)end if end subroutine stats_write_islice_xcoord