FIMS  v0.8.0
Loading...
Searching...
No Matches
fims_popdy::DimensionInfo Struct Reference

Structure to hold dimension information for derived quantities. More...

#include <fishery_model_base.hpp>

Public Member Functions

 DimensionInfo ()
 Default constructor for dimension information.
 
 DimensionInfo (const std::string &name, const fims::Vector< int > &dims, const fims::Vector< std::string > &dim_names)
 Constructor with parameters.
 
 DimensionInfo (const DimensionInfo &other)
 
DimensionInfooperator= (const DimensionInfo &other)
 Assignment operator for DimensionInfo.
 

Public Attributes

std::string name
 
int ndims
 
fims::Vector< intdims
 
fims::Vector< std::string > dim_names
 
fims::Vector< doublese_values_m
 

Detailed Description

Structure to hold dimension information for derived quantities.

Constructor & Destructor Documentation

◆ DimensionInfo() [1/2]

fims_popdy::DimensionInfo::DimensionInfo ( const std::string &  name,
const fims::Vector< int > &  dims,
const fims::Vector< std::string > &  dim_names 
)
inline

Constructor with parameters.

Parameters
nameThe name of the derived quantity.
dimsA vector of integers representing the dimensions.
dim_namesA vector of strings representing the names of the dimensions.

◆ DimensionInfo() [2/2]

fims_popdy::DimensionInfo::DimensionInfo ( const DimensionInfo other)
inline

Copy constructor

Member Data Documentation

◆ dim_names

fims::Vector<std::string> fims_popdy::DimensionInfo::dim_names

vector of dimension names

◆ dims

fims::Vector<int> fims_popdy::DimensionInfo::dims

vector of dimensions

◆ name

std::string fims_popdy::DimensionInfo::name

name of the derived quantity

◆ ndims

int fims_popdy::DimensionInfo::ndims

number of dimensions

◆ se_values_m

fims::Vector<double> fims_popdy::DimensionInfo::se_values_m

final values of the report vector


The documentation for this struct was generated from the following file: