Modular Megafauna Model 1.1.5
A physiological, dynamic herbivore simulator in C++.
Loading...
Searching...
No Matches
Fauna::Output::TextTableWriterOptions Struct Reference

Options for Fauna::Output::TextTableWriter. More...

#include <text_table_writer_options.h>

Public Attributes

std::string directory = "./"
 Relative or absolute path to directory where output files are placed. More...
 
unsigned int precision = 3
 Number of figures after the decimal point. More...
 
Per-ForageType tables: one column per forage type.
bool available_forage = false
 Dry matter weight of available forage in the habitat [kgDM/km²]. More...
 
bool digestibility = false
 Digestibility of available forage in the habitat. More...
 
By-HFT tables: one column for each HFT.
bool body_fat = false
 Proportional body fat, i.e. fat mass per total body mass [kg/kg]. More...
 
bool eaten_nitrogen_per_ind = false
 Daily consumption of nitrogen by herbivore individuals [mgDM/day/ind]. More...
 
bool individual_density = false
 Herbivore individual density by HFT in ind/km². More...
 
bool mass_density = false
 Herbivore mass density by HFT in kg/km². More...
 
bool mass_density_per_hft = false
 Herbivore mass density by HFT in kg/km². More...
 
Per-HFT/per-forage tables: one column per HFT.
bool eaten_forage_per_ind = false
 Daily consumption of dry matter by herbivore individuals [kgDM/day/ind]. More...
 

Detailed Description

Options for Fauna::Output::TextTableWriter.

Which tables to write in text files is specified by boolean variables: If the corresponding member variable is true, a file with the same name plus extension (Output::TextTableWriter::FILE_EXTENSION) will be created in directory.

See also
Output::TextTableWriter

Member Data Documentation

◆ available_forage

bool Fauna::Output::TextTableWriterOptions::available_forage = false

Dry matter weight of available forage in the habitat [kgDM/km²].

See also
Fauna::HabitatForage::get_mass()

◆ body_fat

bool Fauna::Output::TextTableWriterOptions::body_fat = false

Proportional body fat, i.e. fat mass per total body mass [kg/kg].

See also
Fauna::HerbivoreBase::get_bodyfat()

◆ digestibility

bool Fauna::Output::TextTableWriterOptions::digestibility = false

Digestibility of available forage in the habitat.

See also
Fauna::HabitatForage::get_digestibility()

◆ directory

std::string Fauna::Output::TextTableWriterOptions::directory = "./"

Relative or absolute path to directory where output files are placed.

The names of the output text files within the directory are hard-coded. If the directory doesn’t exist, it will be created.

◆ eaten_forage_per_ind

bool Fauna::Output::TextTableWriterOptions::eaten_forage_per_ind = false

Daily consumption of dry matter by herbivore individuals [kgDM/day/ind].

See also
Fauna::Output::HerbivoreData::eaten_forage_per_ind

◆ eaten_nitrogen_per_ind

bool Fauna::Output::TextTableWriterOptions::eaten_nitrogen_per_ind = false

Daily consumption of nitrogen by herbivore individuals [mgDM/day/ind].

This is measured in milligram because the amount might be very tiny. For them to appear not as zeros in the output table, the unit must be made very small.

See also
Fauna::Output::HerbivoreData::eaten_nitrogen_per_ind

◆ individual_density

bool Fauna::Output::TextTableWriterOptions::individual_density = false

Herbivore individual density by HFT in ind/km².

See also
Fauna::Output::HerbivoreData::inddens

◆ mass_density

bool Fauna::Output::TextTableWriterOptions::mass_density = false

Herbivore mass density by HFT in kg/km².

See also
Fauna::Output::HerbivoreData::massdens

◆ mass_density_per_hft

bool Fauna::Output::TextTableWriterOptions::mass_density_per_hft = false

Herbivore mass density by HFT in kg/km².

See also
Fauna::Output::HerbivoreData::massdens
Deprecated:
The name per_hft is confusing because in per_ind it has a different meaning, e.g. in eaten_forage_per_ind. Use mass_density instead.

◆ precision

unsigned int Fauna::Output::TextTableWriterOptions::precision = 3

Number of figures after the decimal point.


The documentation for this struct was generated from the following file: