8#ifndef FIMS_POPULATION_DYNAMICS_POPULATION_HPP
9#define FIMS_POPULATION_DYNAMICS_POPULATION_HPP
26template <
typename Type>
40 1,
static_cast<Type
>(0.5));
56 std::shared_ptr<fims_popdy::RecruitmentBase<Type>>
61 std::shared_ptr<fims_popdy::GrowthBase<Type>>
66 std::shared_ptr<fims_popdy::SizeDistributionProviderBase<Type>>
72 std::shared_ptr<fims_popdy::MaturityBase<Type>>
77 std::vector<std::shared_ptr<fims_popdy::Fleet<Type>>>
84 this->
id = Population::id_g++;
89uint32_t Population<Type>::id_g = 0;
Definition fims_vector.hpp:27
Declare the fleet functor class which is the base class for all fleet functors.
Includes any .hpp files within the subfolders so that only this file needs to included in include sta...
An interface to the modeling platforms, e.g., TMB.
Includes any .hpp files within the subfolders so that only this file needs to included in include sta...
Definition of the FIMSObject structure.
The population dynamics of FIMS.
Definition catch_at_age.hpp:45
Includes any .hpp files within the subfolders so that only this file needs to included in include sta...
Defines the SizeDistributionProviderBase interface for prepared population-level size products.
Defines the SizeGrid container for population-level biological size support.
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
fims::Vector< double > ages
Definition population.hpp:51
size_t n_fleets
Definition population.hpp:31
int growth_id
Definition population.hpp:60
fims::Vector< Type > log_M
Definition population.hpp:38
std::shared_ptr< fims_popdy::MaturityBase< Type > > maturity
Definition population.hpp:73
std::vector< std::shared_ptr< fims_popdy::Fleet< Type > > > fleets
Definition population.hpp:78
fims::Vector< Type > log_f_multiplier
Definition population.hpp:41
std::shared_ptr< fims_popdy::SizeDistributionProviderBase< Type > > size_distribution_provider
Definition population.hpp:67
fims::Vector< Type > spawning_biomass_ratio
Definition population.hpp:43
int recruitment_id
recruitment
Definition population.hpp:55
std::shared_ptr< fims_popdy::RecruitmentBase< Type > > recruitment
Definition population.hpp:57
size_t n_years
Definition population.hpp:29
fims::Vector< Type > f_multiplier
Definition population.hpp:48
int maturity_id
Definition population.hpp:71
size_t n_ages
Definition population.hpp:30
std::set< uint32_t > fleet_ids
Definition population.hpp:76
Population()
Constructor.
Definition population.hpp:83
fims::Vector< Type > M
Definition population.hpp:47
fims::Vector< Type > proportion_female
Definition population.hpp:39
SizeGrid size_grid
Definition population.hpp:65
fims::Vector< double > years
Definition population.hpp:52
fims::Vector< Type > log_init_naa
Definition population.hpp:36
std::shared_ptr< fims_popdy::GrowthBase< Type > > growth
Definition population.hpp:62
Population-level biological size grid.
Definition size_grid.hpp:26