![]() |
FIMS
v0.10.0
|
Population-level biological size grid. More...
#include <size_grid.hpp>
Public Member Functions | |
| bool | HasStrictlyIncreasingEdges () const |
| Return whether the bin edges are strictly increasing. | |
| bool | CentersFallWithinBins () const |
| Return whether each center falls inside its matching bin. | |
| bool | IsConsistent () const |
| Return whether the grid dimensions and geometry are internally consistent. | |
Public Attributes | |
| std::size_t | n_bins = 0 |
| fims::Vector< double > | edges |
| fims::Vector< double > | centers |
Population-level biological size grid.
This container defines the internal biological size support used by a population. It is intentionally separate from fleet observation bins so population size structure can be represented independently of how fleets observe it.
|
inline |
Return whether each center falls inside its matching bin.
|
inline |
Return whether the bin edges are strictly increasing.
|
inline |
Return whether the grid dimensions and geometry are internally consistent.
| fims::Vector<double> fims_popdy::SizeGrid::centers |
size-bin centers on the natural scale
| fims::Vector<double> fims_popdy::SizeGrid::edges |
size-bin edges on the natural scale
| std::size_t fims_popdy::SizeGrid::n_bins = 0 |
number of biological size bins