9 |
#include "livesonareas.h" |
#include "livesonareas.h" |
10 |
#include "modelvariablevector.h" |
#include "modelvariablevector.h" |
11 |
#include "keeper.h" |
#include "keeper.h" |
12 |
|
#include "matrix.h" |
13 |
|
|
14 |
/** |
/** |
15 |
* \class GrowthCalcBase |
* \class GrowthCalcBase |
44 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
45 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
46 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv) = 0; |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv) = 0; |
47 |
|
|
48 |
|
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
49 |
|
const PopInfoVector& numGrow, const AreaClass* const Area, |
50 |
|
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
51 |
|
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) = 0; |
52 |
/** |
/** |
53 |
* \brief This will return the power term of the length - weight relationship |
* \brief This will return the power term of the length - weight relationship |
54 |
* \return 0 (will be overridden in derived classes) |
* \return 0 (will be overridden in derived classes) |
96 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
97 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
98 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
99 |
|
|
100 |
|
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
101 |
|
const PopInfoVector& numGrow, const AreaClass* const Area, |
102 |
|
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
103 |
|
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
104 |
protected: |
protected: |
105 |
/** |
/** |
106 |
* \brief This is the number of growth parameters (set to 9) |
* \brief This is the number of growth parameters (set to 9) |
149 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
150 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
151 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
152 |
|
|
153 |
|
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
154 |
|
const PopInfoVector& numGrow, const AreaClass* const Area, |
155 |
|
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
156 |
|
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
157 |
protected: |
protected: |
158 |
/** |
/** |
159 |
* \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 |
202 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
203 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
204 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
205 |
|
|
206 |
|
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
207 |
|
const PopInfoVector& numGrow, const AreaClass* const Area, |
208 |
|
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
209 |
|
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
210 |
/** |
/** |
211 |
* \brief This will return the power term of the length - weight relationship |
* \brief This will return the power term of the length - weight relationship |
212 |
* \return lgrowthPar[7] |
* \return lgrowthPar[7] |
277 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
278 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
279 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
280 |
|
|
281 |
|
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
282 |
|
const PopInfoVector& numGrow, const AreaClass* const Area, |
283 |
|
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
284 |
|
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
285 |
/** |
/** |
286 |
* \brief This will return the power term of the length - weight relationship |
* \brief This will return the power term of the length - weight relationship |
287 |
* \return lgrowthPar[7] |
* \return lgrowthPar[7] |
352 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
353 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
354 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
355 |
|
|
356 |
|
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
357 |
|
const PopInfoVector& numGrow, const AreaClass* const Area, |
358 |
|
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
359 |
|
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
360 |
/** |
/** |
361 |
* \brief This will return the power term of the length - weight relationship |
* \brief This will return the power term of the length - weight relationship |
362 |
* \return lgrowthPar[7] |
* \return lgrowthPar[7] |
439 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
440 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
441 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
442 |
|
|
443 |
|
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
444 |
|
const PopInfoVector& numGrow, const AreaClass* const Area, |
445 |
|
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
446 |
|
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
447 |
protected: |
protected: |
448 |
/** |
/** |
449 |
* \brief This is the number of growth parameters (set to 2) |
* \brief This is the number of growth parameters (set to 2) |
496 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
497 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
498 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
499 |
|
|
500 |
|
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
501 |
|
const PopInfoVector& numGrow, const AreaClass* const Area, |
502 |
|
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
503 |
|
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
504 |
protected: |
protected: |
505 |
/** |
/** |
506 |
* \brief This is the number of growth parameters (set to 2) |
* \brief This is the number of growth parameters (set to 2) |
551 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
552 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
553 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
554 |
|
|
555 |
|
|
556 |
|
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
557 |
|
const PopInfoVector& numGrow, const AreaClass* const Area, |
558 |
|
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
559 |
|
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size); |
560 |
|
|
561 |
/** |
/** |
562 |
* \brief This will return the power term of the length - weight relationship |
* \brief This will return the power term of the length - weight relationship |
563 |
* \return growthPar[3] |
* \return growthPar[3] |
614 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
615 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
616 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
617 |
|
|
618 |
|
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
619 |
|
const PopInfoVector& numGrow, const AreaClass* const Area, |
620 |
|
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
621 |
|
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
622 |
/** |
/** |
623 |
* \brief This will return the power term of the length - weight relationship |
* \brief This will return the power term of the length - weight relationship |
624 |
* \return growthPar[4] |
* \return growthPar[4] |
675 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
676 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
677 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
678 |
|
|
679 |
|
|
680 |
|
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
681 |
|
const PopInfoVector& numGrow, const AreaClass* const Area, |
682 |
|
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
683 |
|
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
684 |
/** |
/** |
685 |
* \brief This will return the power term of the length - weight relationship |
* \brief This will return the power term of the length - weight relationship |
686 |
* \return growthPar[4] |
* \return growthPar[4] |
737 |
const PopInfoVector& numGrow, const AreaClass* const Area, |
const PopInfoVector& numGrow, const AreaClass* const Area, |
738 |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
739 |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv); |
740 |
|
|
741 |
|
virtual void calcGrowth(int area, double* Lgrowth, double* Wgrowth, |
742 |
|
const PopInfoVector& numGrow, const AreaClass* const Area, |
743 |
|
const TimeClass* const TimeInfo, const DoubleVector& Fphi, |
744 |
|
const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv, int size) {}; |
745 |
/** |
/** |
746 |
* \brief This will return the power term of the length - weight relationship |
* \brief This will return the power term of the length - weight relationship |
747 |
* \return growthPar[4] |
* \return growthPar[4] |