93 |
* \return lgrowth, a DoubleMatrix containing the length increase |
* \return lgrowth, a DoubleMatrix containing the length increase |
94 |
*/ |
*/ |
95 |
// const DoubleMatrix& getLengthIncrease(int area) const { return *lgrowth[this->areaNum(area)]; }; |
// const DoubleMatrix& getLengthIncrease(int area) const { return *lgrowth[this->areaNum(area)]; }; |
96 |
const Matrix& getLengthIncrease_(int area) const { return *_lgrowth; }; |
const Matrix& getLengthIncrease(int area) const { return *lgrowth; }; |
97 |
/** |
/** |
98 |
* \brief This function will return the calculated weight increase due to growth on an area |
* \brief This function will return the calculated weight increase due to growth on an area |
99 |
* \param area is the area that the growth is being calculated on |
* \param area is the area that the growth is being calculated on |
100 |
* \return wgrowth, a DoubleMatrix containing the weight increase |
* \return wgrowth, a DoubleMatrix containing the weight increase |
101 |
*/ |
*/ |
102 |
// const DoubleMatrix& getWeightIncrease(int area) const { return *wgrowth[this->areaNum(area)]; }; |
// const DoubleMatrix& getWeightIncrease(int area) const { return *wgrowth[this->areaNum(area)]; }; |
103 |
const Matrix& getWeightIncrease_(int area) const { return *_wgrowth; }; |
const Matrix& getWeightIncrease(int area) const { return *wgrowth; }; |
104 |
/** |
/** |
105 |
* \brief This function will return the fixed weight increase due to growth on an area |
* \brief This function will return the fixed weight increase due to growth on an area |
106 |
* \param area is the area that the growth is being calculated on |
* \param area is the area that the growth is being calculated on |
122 |
*/ |
*/ |
123 |
LengthGroupDivision* LgrpDiv; |
LengthGroupDivision* LgrpDiv; |
124 |
|
|
125 |
//FIXME |
/** |
126 |
|
* \brief This array of doubles store the raising mean length of all the group to the power term of the length |
127 |
|
*/ |
128 |
double * meanlength_vectorPow; |
double * meanlength_vectorPow; |
|
|
|
129 |
int vector_OK; |
int vector_OK; |
130 |
|
|
131 |
/** |
/** |
143 |
*/ |
*/ |
144 |
DoubleMatrix interpWeightGrowth; |
DoubleMatrix interpWeightGrowth; |
145 |
/** |
/** |
146 |
* \brief This is the DoubleMatrix used to store the calculated increase in length on the current timestep |
* \brief This is the Matrix of doubles used to store the calculated increase in length on the current timestep |
147 |
* \note The indices for this object are [area][length] |
* \note The indices for this object are [area][length] |
148 |
*/ |
*/ |
149 |
// DoubleMatrix calcLengthGrowth; |
Matrix calcLengthGrowth; |
|
Matrix _calcLengthGrowth; |
|
150 |
/** |
/** |
151 |
* \brief This is the DoubleMatrix used to store the calculated increase in weight on the current timestep |
* \brief This is the Matrix of doubles used to store the calculated increase in weight on the current timestep |
152 |
* \note The indices for this object are [area][length] |
* \note The indices for this object are [area][length] |
153 |
*/ |
*/ |
154 |
// DoubleMatrix calcWeightGrowth; |
Matrix calcWeightGrowth; |
|
Matrix _calcWeightGrowth; |
|
155 |
/** |
/** |
156 |
* \brief This is the DoubleMatrixPtrVector used to store the calculated increase in length for each length group on the current timestep |
* \brief This is the DoubleMatrixPtrVector used to store the calculated increase in length for each length group on the current timestep |
157 |
* \note The indices for this object are [area][change in length][stock length] |
* \note The indices for this object are [area][change in length][stock length] |
158 |
*/ |
*/ |
159 |
// DoubleMatrixPtrVector lgrowth; |
// DoubleMatrixPtrVector lgrowth; |
160 |
Matrix* _lgrowth; |
Matrix* lgrowth; |
161 |
/** |
/** |
162 |
* \brief This is the DoubleMatrixPtrVector used to store the calculated increase in weight for each length group on the current timestep |
* \brief This is the DoubleMatrixPtrVector used to store the calculated increase in weight for each length group on the current timestep |
163 |
* \note The indices for this object are [area][change in length][stock length] |
* \note The indices for this object are [area][change in length][stock length] |
164 |
*/ |
*/ |
165 |
// DoubleMatrixPtrVector wgrowth; |
// DoubleMatrixPtrVector wgrowth; |
166 |
Matrix* _wgrowth; |
Matrix* wgrowth; |
167 |
/** |
/** |
168 |
* \brief This is the dummy DoubleVector used during the growth calculation |
* \brief This is the dummy DoubleVector used during the growth calculation |
169 |
* \note The values of this vector are set to zero, and never used, unless the growth function depends on the feeding level of the stock (ie. growth is based on consumption of preys) |
* \note The values of this vector are set to zero, and never used, unless the growth function depends on the feeding level of the stock (ie. growth is based on consumption of preys) |