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.
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.
integer function days_in_month(month,year)integer,intent(in)::month,yearinteger,dimension(12)::ndays,ndays_leapdays_in_month=0ndays=(/31,28,31,30,31,30,31,31,30,31,30,31/)ndays_leap=(/31,29,31,30,31,30,31,31,30,31,30,31/)if(is_leap_year(year))thendays_in_month=ndays_leap(month)elsedays_in_month=ndays(month)end if end function days_in_month