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.
logical function management_is_active_period(year,day,pwu)! returns .true. if period defined by first and last year AND day_irr_start and day_irr_end is trueinteger,intent(in)::year,dayTYPE(TWaterUser),POINTER::pWUmanagement_is_active_period=.false.if(year>=pWU%fyr.AND.year<=pWU%lyr)then if(pWU%day_irr_start<pWU%day_irr_end)then if(day>=pWU%day_irr_start.AND.day<=pWU%day_irr_end)management_is_active_period=.true.else if(day>=pWU%day_irr_end.AND.day<=pWU%day_irr_start)management_is_active_period=.true.end if end if!(year)end function management_is_active_period