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
function compute_incymd(nymd,m)result(incymd)integer::incymdinteger,intent(in)::nymdinteger,intent(in)::m!***********************************************************************! purpose! incymd: nymd changed by one day! modymd: nymd converted to julian date! description of parameters! nymd current date in yymmdd format! m +/- 1 (day adjustment)!!***********************************************************************!* goddard laboratory for atmospheres *!***********************************************************************integer ndpm(12)data ndpm/31,28,31,30,31,30,31,31,30,31,30,31/integer::ny,nm,nd!***********************************************************************!ny=nymd/10000nm=mod(nymd,10000)/100nd=mod(nymd,100)+mif(nd.eq.0)thennm=nm-1if(nm.eq.0)thennm=12ny=ny-1endifnd=ndpm(nm)if(nm.eq.2.and.is_leap_year(ny))nd=29endif if(nd.eq.29.and.nm.eq.2.and.is_leap_year(ny))goto20if(nd.gt.ndpm(nm))thennd=1nm=nm+1if(nm.gt.12)thennm=1ny=ny+1endif endif20continueincymd=ny*10000+nm*100+ndreturn end function compute_incymd