Functions for internal communication. Not to be called by users.
aspwb_day_inner(
internalCommunication,
x,
date,
meteovec,
latitude,
elevation,
slope = NA_real_,
aspect = NA_real_,
runon = 0,
lateralFlows = NULL,
waterTableDepth = NA_real_,
modifyInput = TRUE
)copy_model_output(internalCommunication, x, model)
general_communication_structures(
numCohorts,
nlayers,
ncanlayers,
ntimesteps,
model
)
instance_communication_structures(x, model)
growth_day_inner(
internalCommunication,
x,
date,
meteovec,
latitude,
elevation,
slope = NA_real_,
aspect = NA_real_,
runon = 0,
lateralFlows = NULL,
waterTableDepth = NA_real_,
modifyInput = TRUE
)
spwb_day_inner(
internalCommunication,
x,
date,
meteovec,
latitude,
elevation,
slope = NA_real_,
aspect = NA_real_,
runon = 0,
lateralFlows = NULL,
waterTableDepth = NA_real_,
modifyInput = TRUE
)
List for internal communication.
An object of class spwbInput
or growthInput
.
Date as string "yyyy-mm-dd".
A named numerical vector with weather data. See variable names in parameter meteo
of spwb
.
Latitude (in degrees).
Elevation above sea level (in m), slope (in degrees) and aspect (in degrees from North).
Surface water amount running on the target area from upslope (in mm).
Lateral source/sink terms for each soil layer (interflow/to from adjacent locations) as mm/day.
Water table depth (in mm). When not missing, capillarity rise will be allowed if lower than total soil depth.
Boolean flag to indicate that the input x
object is allowed to be modified during the simulation.
String for model, either "spwb" or "growth".