9#ifndef FIMS_POPULATION_DYNAMICS_SIZE_GRID_HPP
10#define FIMS_POPULATION_DYNAMICS_SIZE_GRID_HPP
14#include "../../common/fims_vector.hpp"
66 for (std::size_t
i = 0;
i <
n_bins; ++
i) {
Definition fims_vector.hpp:27
size_type size() const
Returns the number of elements.
Definition fims_vector.hpp:299
The population dynamics of FIMS.
Definition catch_at_age.hpp:45
std::shared_ptr< AgeToLengthConversionBase< Type > > BuildAgeToLengthConversionFleet(const std::shared_ptr< Population< Type > > &population, const std::shared_ptr< Fleet< Type > > &fleet)
Build the active age-to-length conversion for a fleet from the current population and fleet state.
Definition runtime.hpp:44
Population-level biological size grid.
Definition size_grid.hpp:26
bool HasStrictlyIncreasingEdges() const
Return whether the bin edges are strictly increasing.
Definition size_grid.hpp:35
bool CentersFallWithinBins() const
Return whether each center falls inside its matching bin.
Definition size_grid.hpp:57
bool IsConsistent() const
Return whether the grid dimensions and geometry are internally consistent.
Definition size_grid.hpp:80
fims::Vector< double > centers
Definition size_grid.hpp:29
fims::Vector< double > edges
Definition size_grid.hpp:28
std::size_t n_bins
Definition size_grid.hpp:27