subroutine pl_nup()
proc~~pl_nup~~UsesGraph
proc~pl_nup
pl_nup
module~basin_module
basin_module
proc~pl_nup->module~basin_module
module~hru_module
hru_module
proc~pl_nup->module~hru_module
module~organic_mineral_mass_module
organic_mineral_mass_module
proc~pl_nup->module~organic_mineral_mass_module
module~output_landscape_module
output_landscape_module
proc~pl_nup->module~output_landscape_module
module~plant_data_module
plant_data_module
proc~pl_nup->module~plant_data_module
module~plant_module
plant_module
proc~pl_nup->module~plant_module
module~soil_module
soil_module
proc~pl_nup->module~soil_module
module~carbon_module
carbon_module
module~organic_mineral_mass_module->module~carbon_module
module~soil_module->module~carbon_module
Nodes of different colours represent the following:
Graph Key
Module
Module
Submodule
Submodule
Subroutine
Subroutine
Function
Function
Program
Program
This Page's Entity
This Page's Entity
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 calculates plant nitrogen uptake
~ ~ ~ INCOMING VARIABLES ~ ~ ~
name |units |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
nup1(:) |none |1st shape parameter for plant N uptake
|equation
nup2(:) |none |2nd shape parameter for plant N uptake
|equation
ihru |none |HRU number
pltnfr(1,:) |kg N/kg biomass|nitrogen uptake parameter #1: normal fraction
|of N in crop biomass at emergence
pltnfr(3,:) |kg N/kg biomass|nitrogen uptake parameter #3: normal fraction
|of N in crop biomass at maturity
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ OUTGOING VARIABLES ~ ~ ~
name |units |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
uno3d |kg N/ha |plant nitrogen deficiency for day in HRU
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ LOCAL DEFINITIONS ~ ~ ~
name |units |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
un2 |kg N/ha |ideal plant nitrogen content
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ SUBROUTINES/FUNCTIONS CALLED ~ ~ ~
Intrinsic: Exp, Min
SWAT: nfix, nuts
~ ~ ~ ~ ~ ~ END SPECIFICATIONS ~ ~ ~ ~ ~ ~
find depth of soil layer the roots are into
if crop is a legume, call nitrogen fixation routine
compute nitrogen stress
Arguments
None
proc~~pl_nup~~CallsGraph
proc~pl_nup
pl_nup
amin1
amin1
proc~pl_nup->amin1
nuts
nuts
proc~pl_nup->nuts
pl_nfix
pl_nfix
proc~pl_nup->pl_nfix
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
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.