Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
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.
subroutine catchment_initialise(sbar,flu)use input,only:input_open_file,get_config_fidreal(dp),intent(in)::sbar(:)real(dp),intent(out)::flu(:)read(get_config_fid(),CATCHMENT_PARAMETERS)catchment_input_file_id=input_open_file(catchment_input_file)call catchment_allocate! calculate total catchment (drainage) area "da" in km2da=sum(sbar(:))/10**6da9=100.*da! fraction of subbasin area of total catchment areaflu(:)=sbar(:)/(da*10**6)end subroutine catchment_initialise