FIMS  v0.10.0
Loading...
Searching...
No Matches
growth_model_base.hpp
Go to the documentation of this file.
1// inst/include/population_dynamics/growth/growth_model_base.hpp
10#ifndef POPULATION_DYNAMICS_GROWTH_MODEL_BASE_HPP
11#define POPULATION_DYNAMICS_GROWTH_MODEL_BASE_HPP
12
13#include "growth_products.hpp"
14
15namespace fims_popdy {
16
23template <typename Type>
25 public:
26 virtual ~GrowthModelBase() = default;
27
29 virtual void Prepare() = 0;
30
32 virtual const GrowthProducts<Type>& GetProducts() const = 0;
33};
34
35} // namespace fims_popdy
36
37#endif /* POPULATION_DYNAMICS_GROWTH_MODEL_BASE_HPP */
Growth module boundary (product-oriented).
Definition growth_model_base.hpp:24
virtual const GrowthProducts< Type > & GetProducts() const =0
Read-only access to cached growth products.
virtual void Prepare()=0
Compute and cache growth products (mean LAA, sd LAA, mean WAA).
Declares the GrowthProducts struct holding growth "products" that downstream population dynamics code...
The population dynamics of FIMS.
Definition catch_at_age.hpp:45
Growth "products" in a consistent (year, age, sex) space.
Definition growth_products.hpp:26