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.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
~ ~ ~ PURPOSE ~ ~ ~
this subroutine determines the curve numbers for moisture conditions
I and III and calculates coefficients and shape parameters for the
water retention curve
the coefficients and shape parameters are calculated by one of two methods:
the default method is to make them a function of soil water, the
alternative method (labeled new) is to make them a function of
accumulated PET, precipitation and surface runoff.
~ ~ ~ OUTGOING VARIABLES ~ ~ ~
name |units |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
smx(:) |none |retention coefficient for cn method based on
|soil moisture
wrt(1,:) |none |1st shape parameter for calculation of
|water retention
wrt(2,:) |none |2nd shape parameter for calculation of
|water retention
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ SUBROUTINES/FUNCTIONS CALLED ~ ~ ~
Intrinsic: Exp, Max
SWAT: ascrv
~ ~ ~ ~ ~ ~ END SPECIFICATIONS ~ ~ ~ ~ ~ ~
calculate moisture condition I and III curve numbers
calculate maximum retention parameter value
calculate retention parameter value for CN3
calculate fraction difference in retention parameters
calculate shape parameters
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.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.