11#ifndef POPULATION_DYNAMICS_MATURITY_BASE_HPP
12#define POPULATION_DYNAMICS_MATURITY_BASE_HPP
23template <
typename Type>
35 this->
id = MaturityBase::id_g++;
44 virtual const Type
evaluate(
const Type& x) = 0;
51 virtual const Type
evaluate(
const Type& x,
size_t pos) = 0;
55template <
typename Type>
56uint32_t MaturityBase<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
virtual const Type evaluate(const Type &x)=0
Calculates the maturity.
virtual const Type evaluate(const Type &x, size_t pos)=0
Calculates the selectivity.
MaturityBase()
Constructor.
Definition maturity_base.hpp:33