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 output_check_requested_vars! Make sure all requested variables have been registered.use utilities,only:string_indexcharacter(len=identifier_max_length)vsinteger i,ih,is do i=1,output_nvarsvs=output_requested_vars(i)ih=string_index(vs,output_hydrotope_vars)is=string_index(vs,output_subbasin_vars)! Is requested variable registered?if(ih+is==0)call log_error("output_check_requested_vars",&"Requested output variable invalid: "//vs)! Is subbasin variable requested at hydrotope level?if(ih==0.and.maxval(output_is_requested(i,1,:))>0)then call log_error("output_check_requested_vars",&"Requested variable at hydrotope level is not a hydrotope variable: "//vs)end if end do end subroutine output_check_requested_vars