11#ifndef FAUNA_DEMO_LOGISTIC_GRASS_H
12#define FAUNA_DEMO_LOGISTIC_GRASS_H
76 bool is_valid(std::string& msg)
const;
Definition: logistic_grass.h:25
GrassForage forage
Current forage.
Definition: logistic_grass.h:101
const GrassForage & get_forage() const
Get current grass forage.
Definition: logistic_grass.h:93
LogisticGrass::Parameters settings
Definition: logistic_grass.h:103
void grow_daily(const int day_of_year)
Perform grass growth and decay for one day.
Definition: logistic_grass.cpp:123
void set_forage(const GrassForage &f)
Set the grass forage.
Definition: logistic_grass.h:96
int simulation_month
The current simulation month, starting with zero.
Definition: logistic_grass.h:110
Grass forage in a habitat.
Definition: grass_forage.h:19
Public header for the Modular Megafauna Model.
Settings for grass growth.
Definition: logistic_grass.h:31
std::vector< double > growth_monthly
Proportional daily grass growth rates [day^-1].
Definition: logistic_grass.h:57
double fpc
Fraction of habitat/patch covered with grass [frac].
Definition: logistic_grass.h:49
std::vector< double > digestibility
Proportional digestibility of the grass [frac].
Definition: logistic_grass.h:46
bool is_valid(std::string &msg) const
Check if parameters are valid.
Definition: logistic_grass.cpp:16
std::vector< double > decay_monthly
Proportional daily rates of grass decay [day^-1].
Definition: logistic_grass.h:38
double saturation
Saturation grass biomass [kgDM/m²].
Definition: logistic_grass.h:69
double init_mass
Initial available forage [kgDM/km²].
Definition: logistic_grass.h:61
double reserve
Ungrazable grass biomass reserve, inaccessable to herbivores [kgDM/km²].
Definition: logistic_grass.h:65