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.
logical function reservoir_is_operational(year,day,sub)! check, if reservoir is already operatinginteger,intent(in)::year,day,subinteger::res=0reservoir_is_operational=.false.res=reservoir_get(sub)if(res>0)then if(year>rsv_start_year(res))reservoir_is_operational=.true.if(year==rsv_start_year(res).AND.day>=rsv_start_day(res))reservoir_is_operational=.true.end if end function reservoir_is_operational