Modular Megafauna Model 1.1.5
A physiological, dynamic herbivore simulator in C++.
Loading...
Searching...
No Matches
habitat_data.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2020 W. Traylor <wolfgang.traylor@senckenberg.de>
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
11#ifndef FAUNA_OUTPUT_HABITAT_DATA_H
12#define FAUNA_OUTPUT_HABITAT_DATA_H
13
14#include "Fauna/environment.h"
16
17namespace Fauna {
18namespace Output {
20
26
28
33
36
37 //------------------------------------------------------------
39
53 HabitatData& merge(const HabitatData& other, const double this_weight,
54 const double other_weight);
55
57 void reset() {
59 eaten_forage = 0.0;
61 } // Aggregation Functionality
63};
64
65} // namespace Output
66} // namespace Fauna
67
68#endif // FAUNA_OUTPUT_HABITAT_DATA_H
All values for large herbivore forage in a Habitat.
Definition: habitat_forage.h:21
Classes for abiotic conditions for herbivores.
Forage in a habitat.
Definition: average.h:16
Variables describing the habitat that are not forage ⇒ abiotic environment.
Definition: environment.h:16
Habitat output data for one time unit.
Definition: habitat_data.h:23
Fauna::HabitatForage available_forage
Available forage in the habitat.
Definition: habitat_data.h:25
HabitatData & merge(const HabitatData &other, const double this_weight, const double other_weight)
Aggregate data of this object with another one.
Definition: habitat_data.cpp:16
void reset()
Reset member variables to initial values.
Definition: habitat_data.h:57
Fauna::HabitatEnvironment environment
Abiotic conditions in the habitat.
Definition: habitat_data.h:35
Fauna::ForageMass eaten_forage
Forage mass [kgDM/km²/day] eaten by herbivores.
Definition: habitat_data.h:32