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.
function management_user_pointer(id)result(pwu)! returns a pointer on the current water user in subbasin! id of water user in water user array (ps % pos(i))integer,intent(in)::idTYPE(TWaterUser),POINTER::pWUif(id<=wam_nWU)thenpWU=>TWU(id)else NULLIFY(pWU)call log_error("wam","Water User ID not valid. management_user_pointer(), ID:",int=id)end if end function management_user_pointer