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 class implements a dynamic vector of double values.
Definition: doublevector.h:11
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