Gadget
growthcalc.h
Go to the documentation of this file.
1 #ifndef growthcalc_h
2 #define growthcalc_h
3 
4 #include "areatime.h"
5 #include "conversionindex.h"
7 #include "commentstream.h"
8 #include "popinfovector.h"
9 #include "livesonareas.h"
10 #include "modelvariablevector.h"
11 #include "keeper.h"
12 
18 class GrowthCalcBase : protected LivesOnAreas {
19 public:
24  GrowthCalcBase(const IntVector& Areas);
42  virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth,
43  const PopInfoVector& numGrow, const AreaClass* const Area,
44  const TimeClass* const TimeInfo, const DoubleVector& Fphi,
45  const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv) = 0;
50  virtual double getPower() { return 0.0; };
55  virtual double getMult() { return 0.0; };
56 };
57 
62 class GrowthCalcA : public GrowthCalcBase {
63 public:
71  GrowthCalcA(CommentStream& infile, const IntVector& Areas,
72  const TimeClass* const TimeInfo, Keeper* const keeper);
89  virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth,
90  const PopInfoVector& numGrow, const AreaClass* const Area,
91  const TimeClass* const TimeInfo, const DoubleVector& Fphi,
92  const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv);
93 protected:
102 };
103 
108 class GrowthCalcB : public GrowthCalcBase {
109 public:
119  GrowthCalcB(CommentStream& infile, const IntVector& Areas, const TimeClass* const TimeInfo,
120  Keeper* const keeper, const AreaClass* const Area, const CharPtrVector& lenindex);
124  ~GrowthCalcB();
137  virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth,
138  const PopInfoVector& numGrow, const AreaClass* const Area,
139  const TimeClass* const TimeInfo, const DoubleVector& Fphi,
140  const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv);
141 protected:
150 };
151 
156 class GrowthCalcC : public GrowthCalcBase {
157 public:
167  GrowthCalcC(CommentStream& infile, const IntVector& Areas, const TimeClass* const TimeInfo,
168  const LengthGroupDivision* const LgrpDiv, Keeper* const keeper, const char* refWeightFile);
185  virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth,
186  const PopInfoVector& numGrow, const AreaClass* const Area,
187  const TimeClass* const TimeInfo, const DoubleVector& Fphi,
188  const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv);
193  virtual double getPower() { return lgrowthPar[7]; };
198  virtual double getMult() { return lgrowthPar[6]; };
199 protected:
220 };
221 
226 class GrowthCalcD : public GrowthCalcBase {
227 public:
237  GrowthCalcD(CommentStream& infile, const IntVector& Areas, const TimeClass* const TimeInfo,
238  const LengthGroupDivision* const LgrpDiv, Keeper* const keeper, const char* refWeightFile);
255  virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth,
256  const PopInfoVector& numGrow, const AreaClass* const Area,
257  const TimeClass* const TimeInfo, const DoubleVector& Fphi,
258  const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv);
263  virtual double getPower() { return lgrowthPar[7]; };
268  virtual double getMult() { return lgrowthPar[6]; };
269 protected:
290 };
291 
296 class GrowthCalcE : public GrowthCalcBase {
297 public:
307  GrowthCalcE(CommentStream& infile, const IntVector& Areas, const TimeClass* const TimeInfo,
308  const LengthGroupDivision* const LgrpDiv, Keeper* const keeper, const char* refWeightFile);
325  virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth,
326  const PopInfoVector& numGrow, const AreaClass* const Area,
327  const TimeClass* const TimeInfo, const DoubleVector& Fphi,
328  const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv);
333  virtual double getPower() { return lgrowthPar[7]; };
338  virtual double getMult() { return lgrowthPar[6]; };
339 protected:
372 };
373 
378 class GrowthCalcF : public GrowthCalcBase {
379 public:
389  GrowthCalcF(CommentStream& infile, const IntVector& Areas, const TimeClass* const TimeInfo,
390  Keeper* const keeper, const AreaClass* const Area, const CharPtrVector& lenindex);
394  ~GrowthCalcF();
407  virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth,
408  const PopInfoVector& numGrow, const AreaClass* const Area,
409  const TimeClass* const TimeInfo, const DoubleVector& Fphi,
410  const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv);
411 protected:
424 };
425 
430 class GrowthCalcG : public GrowthCalcBase {
431 public:
441  GrowthCalcG(CommentStream& infile, const IntVector& Areas, const TimeClass* const TimeInfo,
442  Keeper* const keeper, const AreaClass* const Area, const CharPtrVector& lenindex);
446  ~GrowthCalcG();
459  virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth,
460  const PopInfoVector& numGrow, const AreaClass* const Area,
461  const TimeClass* const TimeInfo, const DoubleVector& Fphi,
462  const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv);
463 protected:
476 };
477 
482 class GrowthCalcH : public GrowthCalcBase {
483 public:
491  GrowthCalcH(CommentStream& infile, const IntVector& Areas,
492  const TimeClass* const TimeInfo, Keeper* const keeper);
509  virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth,
510  const PopInfoVector& numGrow, const AreaClass* const Area,
511  const TimeClass* const TimeInfo, const DoubleVector& Fphi,
512  const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv);
517  virtual double getPower() { return growthPar[3]; };
522  virtual double getMult() { return growthPar[2]; };
523 protected:
532 };
533 
538 class GrowthCalcI : public GrowthCalcBase {
539 public:
547  GrowthCalcI(CommentStream& infile, const IntVector& Areas,
548  const TimeClass* const TimeInfo, Keeper* const keeper);
565  virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth,
566  const PopInfoVector& numGrow, const AreaClass* const Area,
567  const TimeClass* const TimeInfo, const DoubleVector& Fphi,
568  const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv);
573  virtual double getPower() { return growthPar[4]; };
578  virtual double getMult() { return growthPar[5]; };
579 protected:
588 };
589 
594 class GrowthCalcJ : public GrowthCalcBase {
595 public:
603  GrowthCalcJ(CommentStream& infile, const IntVector& Areas,
604  const TimeClass* const TimeInfo, Keeper* const keeper);
621  virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth,
622  const PopInfoVector& numGrow, const AreaClass* const Area,
623  const TimeClass* const TimeInfo, const DoubleVector& Fphi,
624  const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv);
629  virtual double getPower() { return growthPar[4]; };
634  virtual double getMult() { return growthPar[3]; };
635 protected:
644 };
645 
650 class GrowthCalcK : public GrowthCalcBase {
651 public:
659  GrowthCalcK(CommentStream& infile, const IntVector& Areas,
660  const TimeClass* const TimeInfo, Keeper* const keeper);
677  virtual void calcGrowth(int area, DoubleVector& Lgrowth, DoubleVector& Wgrowth,
678  const PopInfoVector& numGrow, const AreaClass* const Area,
679  const TimeClass* const TimeInfo, const DoubleVector& Fphi,
680  const DoubleVector& MaxCon, const LengthGroupDivision* const LgrpDiv);
685  virtual double getPower() { return growthPar[4]; };
690  virtual double getMult() { return growthPar[3]; };
691 protected:
700 };
701 
702 #endif
This is the class used to store information about the areas used for the current model.
Definition: areatime.h:18
This class implements a dynamic vector of char values.
Definition: charptrvector.h:8
This is the class used to strip comments (and whitespace) from any input stream.
Definition: commentstream.h:40
This class implements a dynamic vector of double values.
Definition: doublevector.h:11
This class implements a dynamic vector of FormulaMatrix values.
Definition: formulamatrixptrvector.h:10
This class implements a dynamic vector of Formula values.
Definition: formulavector.h:10
This is the class used to calculate the growth of a stock using the MULTSPEC growth function.
Definition: growthcalc.h:62
int numGrowthConstants
This is the number of growth parameters (set to 9)
Definition: growthcalc.h:97
virtual void calcGrowth(int area, DoubleVector &Lgrowth, DoubleVector &Wgrowth, const PopInfoVector &numGrow, const AreaClass *const Area, const TimeClass *const TimeInfo, const DoubleVector &Fphi, const DoubleVector &MaxCon, const LengthGroupDivision *const LgrpDiv)
This is the function that calculates the growth using the MULTSPEC function.
Definition: growthcalc.cc:35
GrowthCalcA(CommentStream &infile, const IntVector &Areas, const TimeClass *const TimeInfo, Keeper *const keeper)
This is the default GrowthCalcA constructor.
Definition: growthcalc.cc:19
ModelVariableVector growthPar
This is the ModelVariableVector of growth parameters.
Definition: growthcalc.h:101
~GrowthCalcA()
This is the default GrowthCalcA destructor.
Definition: growthcalc.h:76
This is the class used to calculate the growth when reading the growth directly from a file.
Definition: growthcalc.h:108
FormulaMatrixPtrVector lgrowth
This is the FormulaMatrixPtrVector of increase in length for each length group.
Definition: growthcalc.h:145
FormulaMatrixPtrVector wgrowth
This is the FormulaMatrixPtrVector of increase in weight for each length group.
Definition: growthcalc.h:149
virtual void calcGrowth(int area, DoubleVector &Lgrowth, DoubleVector &Wgrowth, const PopInfoVector &numGrow, const AreaClass *const Area, const TimeClass *const TimeInfo, const DoubleVector &Fphi, const DoubleVector &MaxCon, const LengthGroupDivision *const LgrpDiv)
This is the function that calculates the growth read from file.
Definition: growthcalc.cc:114
~GrowthCalcB()
This is the default GrowthCalcB destructor.
Definition: growthcalc.cc:106
GrowthCalcB(CommentStream &infile, const IntVector &Areas, const TimeClass *const TimeInfo, Keeper *const keeper, const AreaClass *const Area, const CharPtrVector &lenindex)
This is the default GrowthCalcB constructor.
Definition: growthcalc.cc:62
This is the base class used to calculate the growth of a stock within the model.
Definition: growthcalc.h:18
GrowthCalcBase(const IntVector &Areas)
This is the default GrowthCalcBase constructor.
Definition: growthcalc.cc:13
~GrowthCalcBase()
This is the default GrowthCalcBase destructor.
Definition: growthcalc.h:28
virtual void calcGrowth(int area, DoubleVector &Lgrowth, DoubleVector &Wgrowth, const PopInfoVector &numGrow, const AreaClass *const Area, const TimeClass *const TimeInfo, const DoubleVector &Fphi, const DoubleVector &MaxCon, const LengthGroupDivision *const LgrpDiv)=0
This is the function that calculates the growth.
virtual double getPower()
This will return the power term of the length - weight relationship.
Definition: growthcalc.h:50
virtual double getMult()
This will return the multiplier of the length - weight relationship.
Definition: growthcalc.h:55
This is the class used to calculate the growth of a stock using a weight-based Von Bertalanffy growth...
Definition: growthcalc.h:156
virtual void calcGrowth(int area, DoubleVector &Lgrowth, DoubleVector &Wgrowth, const PopInfoVector &numGrow, const AreaClass *const Area, const TimeClass *const TimeInfo, const DoubleVector &Fphi, const DoubleVector &MaxCon, const LengthGroupDivision *const LgrpDiv)
This is the function that calculates the growth using a weight-based Von Bertalanffy function.
Definition: growthcalc.cc:195
int numLengthGrowthConstants
This is the number of length growth parameters (set to 9)
Definition: growthcalc.h:207
virtual double getMult()
This will return the multiplier of the length - weight relationship.
Definition: growthcalc.h:198
GrowthCalcC(CommentStream &infile, const IntVector &Areas, const TimeClass *const TimeInfo, const LengthGroupDivision *const LgrpDiv, Keeper *const keeper, const char *refWeightFile)
This is the default GrowthCalcC constructor.
Definition: growthcalc.cc:131
~GrowthCalcC()
This is the default GrowthCalcC destructor.
Definition: growthcalc.h:172
ModelVariableVector lgrowthPar
This is the ModelVariableVector of length growth parameters.
Definition: growthcalc.h:215
DoubleVector refWeight
This is the DoubleVector of the reference weight values.
Definition: growthcalc.h:219
int numWeightGrowthConstants
This is the number of weight growth parameters (set to 6)
Definition: growthcalc.h:198
virtual double getPower()
This will return the power term of the length - weight relationship.
Definition: growthcalc.h:193
ModelVariableVector wgrowthPar
This is the ModelVariableVector of weight growth parameters.
Definition: growthcalc.h:211
This is the class used to calculate the growth of a stock using the Jones growth function.
Definition: growthcalc.h:226
int numLengthGrowthConstants
This is the number of length growth parameters (set to 9)
Definition: growthcalc.h:277
GrowthCalcD(CommentStream &infile, const IntVector &Areas, const TimeClass *const TimeInfo, const LengthGroupDivision *const LgrpDiv, Keeper *const keeper, const char *refWeightFile)
This is the default GrowthCalcD constructor.
Definition: growthcalc.cc:247
DoubleVector refWeight
This is the DoubleVector of the reference weight values.
Definition: growthcalc.h:289
ModelVariableVector wgrowthPar
This is the ModelVariableVector of weight growth parameters.
Definition: growthcalc.h:281
~GrowthCalcD()
This is the default GrowthCalcD destructor.
Definition: growthcalc.h:242
int numWeightGrowthConstants
This is the number of weight growth parameters (set to 6)
Definition: growthcalc.h:268
ModelVariableVector lgrowthPar
This is the ModelVariableVector of length growth parameters.
Definition: growthcalc.h:285
virtual double getPower()
This will return the power term of the length - weight relationship.
Definition: growthcalc.h:263
virtual double getMult()
This will return the multiplier of the length - weight relationship.
Definition: growthcalc.h:268
virtual void calcGrowth(int area, DoubleVector &Lgrowth, DoubleVector &Wgrowth, const PopInfoVector &numGrow, const AreaClass *const Area, const TimeClass *const TimeInfo, const DoubleVector &Fphi, const DoubleVector &MaxCon, const LengthGroupDivision *const LgrpDiv)
This is the function that calculates the growth using the Jones growth function.
Definition: growthcalc.cc:311
This is the class used to calculate the growth of a stock using an extended form of the Von Bertalanf...
Definition: growthcalc.h:296
GrowthCalcE(CommentStream &infile, const IntVector &Areas, const TimeClass *const TimeInfo, const LengthGroupDivision *const LgrpDiv, Keeper *const keeper, const char *refWeightFile)
This is the default GrowthCalcE constructor.
Definition: growthcalc.cc:364
int numLengthGrowthConstants
This is the number of length growth parameters (set to 9)
Definition: growthcalc.h:347
~GrowthCalcE()
This is the default GrowthCalcE destructor.
Definition: growthcalc.h:312
virtual double getPower()
This will return the power term of the length - weight relationship.
Definition: growthcalc.h:333
FormulaVector areaEffect
This is the FormulaVector of parameters for the area effect.
Definition: growthcalc.h:371
DoubleVector refWeight
This is the DoubleVector of the reference weight values.
Definition: growthcalc.h:359
ModelVariableVector wgrowthPar
This is the ModelVariableVector of weight growth parameters.
Definition: growthcalc.h:351
virtual void calcGrowth(int area, DoubleVector &Lgrowth, DoubleVector &Wgrowth, const PopInfoVector &numGrow, const AreaClass *const Area, const TimeClass *const TimeInfo, const DoubleVector &Fphi, const DoubleVector &MaxCon, const LengthGroupDivision *const LgrpDiv)
This is the function that calculates the growth using an extended Von Bertalanffy growth function.
Definition: growthcalc.cc:459
FormulaVector yearEffect
This is the FormulaVector of parameters for the year effect.
Definition: growthcalc.h:363
FormulaVector stepEffect
This is the FormulaVector of parameters for the step effect.
Definition: growthcalc.h:367
ModelVariableVector lgrowthPar
This is the ModelVariableVector of length growth parameters.
Definition: growthcalc.h:355
int numWeightGrowthConstants
This is the number of weight growth parameters (set to 6)
Definition: growthcalc.h:338
virtual double getMult()
This will return the multiplier of the length - weight relationship.
Definition: growthcalc.h:338
This is the class used to calculate the growth of a stock using a length based Von Bertalanffy growth...
Definition: growthcalc.h:378
FormulaMatrixPtrVector wgrowth
This is the FormulaMatrixPtrVector of increase in weight for each length group.
Definition: growthcalc.h:423
int numGrowthConstants
This is the number of growth parameters (set to 2)
Definition: growthcalc.h:415
virtual void calcGrowth(int area, DoubleVector &Lgrowth, DoubleVector &Wgrowth, const PopInfoVector &numGrow, const AreaClass *const Area, const TimeClass *const TimeInfo, const DoubleVector &Fphi, const DoubleVector &MaxCon, const LengthGroupDivision *const LgrpDiv)
This is the function that calculates the growth using a length based Von Bertalanffy growth function.
Definition: growthcalc.cc:558
ModelVariableVector growthPar
This is the ModelVariableVector of growth parameters.
Definition: growthcalc.h:419
GrowthCalcF(CommentStream &infile, const IntVector &Areas, const TimeClass *const TimeInfo, Keeper *const keeper, const AreaClass *const Area, const CharPtrVector &lenindex)
This is the default GrowthCalcF constructor.
Definition: growthcalc.cc:516
~GrowthCalcF()
This is the default GrowthCalcF destructor.
Definition: growthcalc.cc:552
This is the class used to calculate the growth of a stock using a power growth function.
Definition: growthcalc.h:430
FormulaMatrixPtrVector wgrowth
This is the FormulaMatrixPtrVector of increase in weight for each length group.
Definition: growthcalc.h:475
int numGrowthConstants
This is the number of growth parameters (set to 2)
Definition: growthcalc.h:467
~GrowthCalcG()
This is the default GrowthCalcG destructor.
Definition: growthcalc.cc:616
virtual void calcGrowth(int area, DoubleVector &Lgrowth, DoubleVector &Wgrowth, const PopInfoVector &numGrow, const AreaClass *const Area, const TimeClass *const TimeInfo, const DoubleVector &Fphi, const DoubleVector &MaxCon, const LengthGroupDivision *const LgrpDiv)
This is the function that calculates the growth using a power growth function.
Definition: growthcalc.cc:622
GrowthCalcG(CommentStream &infile, const IntVector &Areas, const TimeClass *const TimeInfo, Keeper *const keeper, const AreaClass *const Area, const CharPtrVector &lenindex)
This is the default GrowthCalcG constructor.
Definition: growthcalc.cc:580
ModelVariableVector growthPar
This is the ModelVariableVector of growth parameters.
Definition: growthcalc.h:471
This is the class used to calculate the growth of a stock using a simple length based Von Bertalanffy...
Definition: growthcalc.h:482
virtual double getMult()
This will return the multiplier of the length - weight relationship.
Definition: growthcalc.h:522
~GrowthCalcH()
This is the default GrowthCalcH destructor.
Definition: growthcalc.h:496
virtual double getPower()
This will return the power term of the length - weight relationship.
Definition: growthcalc.h:517
int numGrowthConstants
This is the number of growth parameters (set to 4)
Definition: growthcalc.h:522
virtual void calcGrowth(int area, DoubleVector &Lgrowth, DoubleVector &Wgrowth, const PopInfoVector &numGrow, const AreaClass *const Area, const TimeClass *const TimeInfo, const DoubleVector &Fphi, const DoubleVector &MaxCon, const LengthGroupDivision *const LgrpDiv)
This is the function that calculates the growth using a simple length based Von Bertalanffy growth fu...
Definition: growthcalc.cc:684
ModelVariableVector growthPar
This is the ModelVariableVector of growth parameters.
Definition: growthcalc.h:531
GrowthCalcH(CommentStream &infile, const IntVector &Areas, const TimeClass *const TimeInfo, Keeper *const keeper)
This is the default GrowthCalcH constructor.
Definition: growthcalc.cc:666
This is the class used to calculate the growth of a stock using a simple Jones growth function.
Definition: growthcalc.h:538
virtual double getMult()
This will return the multiplier of the length - weight relationship.
Definition: growthcalc.h:578
GrowthCalcI(CommentStream &infile, const IntVector &Areas, const TimeClass *const TimeInfo, Keeper *const keeper)
This is the default GrowthCalcI constructor.
Definition: growthcalc.cc:707
~GrowthCalcI()
This is the default GrowthCalcI destructor.
Definition: growthcalc.h:552
int numGrowthConstants
This is the number of growth parameters (set to 6)
Definition: growthcalc.h:578
ModelVariableVector growthPar
This is the ModelVariableVector of growth parameters.
Definition: growthcalc.h:587
virtual double getPower()
This will return the power term of the length - weight relationship.
Definition: growthcalc.h:573
virtual void calcGrowth(int area, DoubleVector &Lgrowth, DoubleVector &Wgrowth, const PopInfoVector &numGrow, const AreaClass *const Area, const TimeClass *const TimeInfo, const DoubleVector &Fphi, const DoubleVector &MaxCon, const LengthGroupDivision *const LgrpDiv)
This is the function that calculates the growth using a simple Jones growth function.
Definition: growthcalc.cc:725
This is the class used to calculate the growth of a stock using a simple length based Von Bertalanffy...
Definition: growthcalc.h:594
ModelVariableVector growthPar
This is the ModelVariableVector of growth parameters.
Definition: growthcalc.h:643
virtual double getMult()
This will return the multiplier of the length - weight relationship.
Definition: growthcalc.h:634
~GrowthCalcJ()
This is the default GrowthCalcJ destructor.
Definition: growthcalc.h:608
virtual void calcGrowth(int area, DoubleVector &Lgrowth, DoubleVector &Wgrowth, const PopInfoVector &numGrow, const AreaClass *const Area, const TimeClass *const TimeInfo, const DoubleVector &Fphi, const DoubleVector &MaxCon, const LengthGroupDivision *const LgrpDiv)
This is the function that calculates the growth using a simple length based Von Bertalanffy growth fu...
Definition: growthcalc.cc:784
virtual double getPower()
This will return the power term of the length - weight relationship.
Definition: growthcalc.h:629
int numGrowthConstants
This is the number of growth parameters (set to 5)
Definition: growthcalc.h:634
GrowthCalcJ(CommentStream &infile, const IntVector &Areas, const TimeClass *const TimeInfo, Keeper *const keeper)
This is the default GrowthCalcJ constructor.
Definition: growthcalc.cc:765
This is the class used to calculate the growth of a stock using a simple length based Gompertz functi...
Definition: growthcalc.h:650
virtual double getPower()
This will return the power term of the length - weight relationship.
Definition: growthcalc.h:685
int numGrowthConstants
This is the number of growth parameters (set to 5)
Definition: growthcalc.h:690
ModelVariableVector growthPar
This is the ModelVariableVector of growth parameters.
Definition: growthcalc.h:699
GrowthCalcK(CommentStream &infile, const IntVector &Areas, const TimeClass *const TimeInfo, Keeper *const keeper)
This is the default GrowthCalcK constructor.
Definition: growthcalc.cc:807
~GrowthCalcK()
This is the default GrowthCalcK destructor.
Definition: growthcalc.h:664
virtual double getMult()
This will return the multiplier of the length - weight relationship.
Definition: growthcalc.h:690
virtual void calcGrowth(int area, DoubleVector &Lgrowth, DoubleVector &Wgrowth, const PopInfoVector &numGrow, const AreaClass *const Area, const TimeClass *const TimeInfo, const DoubleVector &Fphi, const DoubleVector &MaxCon, const LengthGroupDivision *const LgrpDiv)
This is the function that calculates the growth using a simple length based Gompertz function.
Definition: growthcalc.cc:824
This class implements a dynamic vector of int values.
Definition: intvector.h:11
This is the class used to store information about the variables that are used in model simulation.
Definition: keeper.h:17
This is the class used to store information about the length groups of the modelled stock population.
Definition: lengthgroup.h:10
This is the class used to store information about the areas an object is defined on for the current m...
Definition: livesonareas.h:10
This class implements a dynamic vector of ModelVariable values.
Definition: modelvariablevector.h:10
This class implements a dynamic vector of PopInfo values.
Definition: popinfovector.h:11
This is the class used to store information about the timesteps used for the current model.
Definition: areatime.h:87