Setup seafloor for model run.
Usage
setup_seafloor(
dimensions,
grain = 1,
reef = NULL,
starting_values,
random = 0,
verbose = TRUE
)
Arguments
- dimensions
Vector with number of rows and columns (spatial dimensions).
- grain
Double with size of cells in x- and y-direction (spatial grain).
- reef
2-Column matrix with coordinates of artificial reefs.
- starting_values
List with all starting value parameters.
- random
Numeric to randomize input values.
- verbose
If TRUE, progress reports are printed.
Details
Function to setup the seafloor. The center of the seafloor raster is always x,y (0,0). bg_biomass and ag_biomass values are in g dry weight. nutrients_pool and deritus_pool values are in g nutrients. If reef cells are present, the cells in the corresponding raster layer are idntified usinge the value one.
If random > 0
, the stochasticity is added to all starting values using
x * (1 +- random)
as minimum and maximum values, respectively.