27 |
* \brief This is the default GrowthCalcBase destructor |
* \brief This is the default GrowthCalcBase destructor |
28 |
*/ |
*/ |
29 |
~GrowthCalcBase() {}; |
~GrowthCalcBase() {}; |
30 |
|
//FIXME doc |
31 |
/** |
/** |
32 |
* \brief This is the function that calculates the growth |
* \brief This is the function that calculates the growth |
33 |
* \param area is the area that the growth is being calculated on |
* \param area is the area that the growth is being calculated on |
41 |
* \param LgrpDiv is the LengthGroupDivision of the stock |
* \param LgrpDiv is the LengthGroupDivision of the stock |
42 |
* \note This will be overridden by the derived classes that actually calculate the growth |
* \note This will be overridden by the derived classes that actually calculate the growth |
43 |
*/ |
*/ |
44 |
virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
// virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
45 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
// const PopInfoVector& numGrow, const AreaClass* const Area, |
46 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
// const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
47 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv) = 0; |
// const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv) = 0; |
48 |
|
|
49 |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
50 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
93 |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
94 |
* \param LgrpDiv is the LengthGroupDivision of the stock |
* \param LgrpDiv is the LengthGroupDivision of the stock |
95 |
*/ |
*/ |
96 |
virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
// virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
97 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
// const PopInfoVector& numGrow, const AreaClass* const Area, |
98 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
// const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
99 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
// const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
100 |
|
|
101 |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
102 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
103 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
104 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size); |
105 |
protected: |
protected: |
106 |
/** |
/** |
107 |
* \brief This is the number of growth parameters (set to 9) |
* \brief This is the number of growth parameters (set to 9) |
146 |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
147 |
* \param LgrpDiv is the LengthGroupDivision of the stock |
* \param LgrpDiv is the LengthGroupDivision of the stock |
148 |
*/ |
*/ |
149 |
virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
// virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
150 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
// const PopInfoVector& numGrow, const AreaClass* const Area, |
151 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
// const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
152 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
// const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
153 |
|
|
154 |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
155 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
156 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
157 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size); |
158 |
protected: |
protected: |
159 |
/** |
/** |
160 |
* \brief This is the FormulaMatrixPtrVector of increase in length for each length group |
* \brief This is the FormulaMatrixPtrVector of increase in length for each length group |
199 |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
200 |
* \param LgrpDiv is the LengthGroupDivision of the stock |
* \param LgrpDiv is the LengthGroupDivision of the stock |
201 |
*/ |
*/ |
202 |
virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
// virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
203 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
// const PopInfoVector& numGrow, const AreaClass* const Area, |
204 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
// const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
205 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
// const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
206 |
|
|
207 |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
208 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
209 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
210 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size); |
211 |
/** |
/** |
212 |
* \brief This will return the power term of the length - weight relationship |
* \brief This will return the power term of the length - weight relationship |
213 |
* \return lgrowthPar[7] |
* \return lgrowthPar[7] |
274 |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
275 |
* \param LgrpDiv is the LengthGroupDivision of the stock |
* \param LgrpDiv is the LengthGroupDivision of the stock |
276 |
*/ |
*/ |
277 |
virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
// virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
278 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
// const PopInfoVector& numGrow, const AreaClass* const Area, |
279 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
// const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
280 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
// const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
281 |
|
|
282 |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
283 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
284 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
285 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size); |
286 |
/** |
/** |
287 |
* \brief This will return the power term of the length - weight relationship |
* \brief This will return the power term of the length - weight relationship |
288 |
* \return lgrowthPar[7] |
* \return lgrowthPar[7] |
349 |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
350 |
* \param LgrpDiv is the LengthGroupDivision of the stock |
* \param LgrpDiv is the LengthGroupDivision of the stock |
351 |
*/ |
*/ |
352 |
virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
// virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
353 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
// const PopInfoVector& numGrow, const AreaClass* const Area, |
354 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
// const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
355 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
// const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
356 |
|
|
357 |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
358 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
359 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
360 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size); |
361 |
/** |
/** |
362 |
* \brief This will return the power term of the length - weight relationship |
* \brief This will return the power term of the length - weight relationship |
363 |
* \return lgrowthPar[7] |
* \return lgrowthPar[7] |
436 |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
437 |
* \param LgrpDiv is the LengthGroupDivision of the stock |
* \param LgrpDiv is the LengthGroupDivision of the stock |
438 |
*/ |
*/ |
439 |
virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
// virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
440 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
// const PopInfoVector& numGrow, const AreaClass* const Area, |
441 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
// const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
442 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
// const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
443 |
|
|
444 |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
445 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
446 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
447 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size); |
448 |
protected: |
protected: |
449 |
/** |
/** |
450 |
* \brief This is the number of growth parameters (set to 2) |
* \brief This is the number of growth parameters (set to 2) |
493 |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
494 |
* \param LgrpDiv is the LengthGroupDivision of the stock |
* \param LgrpDiv is the LengthGroupDivision of the stock |
495 |
*/ |
*/ |
496 |
virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
// virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
497 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
// const PopInfoVector& numGrow, const AreaClass* const Area, |
498 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
// const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
499 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
// const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
500 |
|
|
501 |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
502 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
503 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
504 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size); |
505 |
protected: |
protected: |
506 |
/** |
/** |
507 |
* \brief This is the number of growth parameters (set to 2) |
* \brief This is the number of growth parameters (set to 2) |
548 |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
549 |
* \param LgrpDiv is the LengthGroupDivision of the stock |
* \param LgrpDiv is the LengthGroupDivision of the stock |
550 |
*/ |
*/ |
551 |
virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
// virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
552 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
// const PopInfoVector& numGrow, const AreaClass* const Area, |
553 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
// const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
554 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
// const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
555 |
|
|
556 |
|
|
557 |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
611 |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
612 |
* \param LgrpDiv is the LengthGroupDivision of the stock |
* \param LgrpDiv is the LengthGroupDivision of the stock |
613 |
*/ |
*/ |
614 |
virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
// virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
615 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
// const PopInfoVector& numGrow, const AreaClass* const Area, |
616 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
// const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
617 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
// const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
618 |
|
|
619 |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
620 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
621 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
622 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size); |
623 |
/** |
/** |
624 |
* \brief This will return the power term of the length - weight relationship |
* \brief This will return the power term of the length - weight relationship |
625 |
* \return growthPar[4] |
* \return growthPar[4] |
672 |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
673 |
* \param LgrpDiv is the LengthGroupDivision of the stock |
* \param LgrpDiv is the LengthGroupDivision of the stock |
674 |
*/ |
*/ |
675 |
virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
// virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
676 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
// const PopInfoVector& numGrow, const AreaClass* const Area, |
677 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
// const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
678 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
// const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
679 |
|
|
680 |
|
|
681 |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
682 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
683 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
684 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size); |
685 |
/** |
/** |
686 |
* \brief This will return the power term of the length - weight relationship |
* \brief This will return the power term of the length - weight relationship |
687 |
* \return growthPar[4] |
* \return growthPar[4] |
734 |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
* \param MaxCon is the DoubleVector of the maximum consumption of the stock |
735 |
* \param LgrpDiv is the LengthGroupDivision of the stock |
* \param LgrpDiv is the LengthGroupDivision of the stock |
736 |
*/ |
*/ |
737 |
virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
// virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth, |
738 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
// const PopInfoVector& numGrow, const AreaClass* const Area, |
739 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
// const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
740 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
// const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
741 |
|
|
742 |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
743 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
744 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
745 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size); |
746 |
/** |
/** |
747 |
* \brief This will return the power term of the length - weight relationship |
* \brief This will return the power term of the length - weight relationship |
748 |
* \return growthPar[4] |
* \return growthPar[4] |