11#ifndef POPULATION_DYNAMICS_GROWTH_BASE_HPP
12#define POPULATION_DYNAMICS_GROWTH_BASE_HPP
23template <
typename Type>
35 this->
id = GrowthBase::id_g++;
46 virtual const Type
evaluate(
int year,
const double& a) = 0;
49template <
typename Type>
50uint32_t GrowthBase<Type>::id_g = 0;
Definition of the FIMSObject structure.
The population dynamics of FIMS.
Definition catch_at_age.hpp:45
void register_self(const uint32_t id)
Registers a FIMSObject instance with the memory tracker.
Definition model_object.hpp:35
FIMSObject struct that defines member types and returns the unique id.
Definition model_object.hpp:55
Base class for all growth functors.
Definition growth_base.hpp:24
GrowthBase()
Constructor.
Definition growth_base.hpp:34
virtual const Type evaluate(int year, const double &a)=0
Calculates the growth at the independent variable value.