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

Coefficient and exponent for an allometric relationship. More...

#include <hft.h>

Public Member Functions

 AllometryParameters (const double coefficient, const double exponent)
 Constructor. More...
 
double calc (const double M) const
 Calculate the result of the formula. More...
 

Public Attributes

double coefficient
 Factor c in x=c*M^e. More...
 
double exponent
 Exponent e in x=c*M^e. More...
 

Detailed Description

Coefficient and exponent for an allometric relationship.

The allometric relationship:

\[
x = c * M^e
\]

Constructor & Destructor Documentation

◆ AllometryParameters()

Fauna::AllometryParameters::AllometryParameters ( const double  coefficient,
const double  exponent 
)
inline

Constructor.

Member Function Documentation

◆ calc()

double Fauna::AllometryParameters::calc ( const double  M) const
inline

Calculate the result of the formula.

Member Data Documentation

◆ coefficient

double Fauna::AllometryParameters::coefficient

Factor c in x=c*M^e.

◆ exponent

double Fauna::AllometryParameters::exponent

Exponent e in x=c*M^e.


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