37 const char* refWeightFile,
const char* givenname,
const AreaClass*
const Area,
double DL);
56 void Print(ofstream& outfile)
const;
67 int numage,
int minage,
const AreaClass*
const Area);
77 int numage,
int minage,
const AreaClass*
const Area);
87 int numage,
int minage,
const AreaClass*
const Area);
This class implements a dynamic vector of AgeBandMatrix values.
Definition: agebandmatrixptrvector.h:12
This is the class used to store information about the areas used for the current model.
Definition: areatime.h:18
This is the class used to convert information from one LengthGroupDivision length structure to a seco...
Definition: conversionindex.h:12
This class implements a dynamic vector of double values.
Definition: doublevector.h:11
This is the base class for any object that has a name.
Definition: hasname.h:10
This is the class used to calculate the initial population of a stock.
Definition: initialcond.h:24
FormulaMatrix beta
This is the FormulaMatrix of the beta parameter used when calculating the length weight relationship.
Definition: initialcond.h:131
FormulaMatrixPtrVector initialNumber
This is the FormulaMatrixPtrVector that contains the number (from the input file) of the initial popu...
Definition: initialcond.h:103
void readNormalParameterData(CommentStream &infile, Keeper *const keeper, int numage, int minage, const AreaClass *const Area)
This is the function used to read the normal distribution for the initial condtion data.
Definition: initialcond.cc:92
AgeBandMatrixPtrVector initialPop
This is the AgeBandMatrixPtrVector used to store the initial population.
Definition: initialcond.h:99
DoubleVector refWeight
This is the DoubleVector of the reference weight values.
Definition: initialcond.h:139
Formula sdevMult
This is the optional factor used when calculating the standard deviation of the length.
Definition: initialcond.h:135
FormulaMatrix relCond
This is the FormulaMatrix of the condition factor used to calculate the weight of the initial populat...
Definition: initialcond.h:115
void readNormalConditionData(CommentStream &infile, Keeper *const keeper, int numage, int minage, const AreaClass *const Area)
This is the function used to read the normal distribution and condition factor for the initial condti...
Definition: initialcond.cc:9
FormulaMatrix sdevLength
This is the FormulaMatrix of the standard deviation of the length at age used to calculate the initia...
Definition: initialcond.h:123
void readNumberData(CommentStream &infile, Keeper *const keeper, int numage, int minage, const AreaClass *const Area)
This is the function used to read the numbers of the initial population.
Definition: initialcond.cc:178
int readoption
This is the identifier of the function to be used to read the initial population data from file.
Definition: initialcond.h:143
void Initialise(AgeBandMatrixPtrVector &Alkeys)
This function will set the initial population of the stock to that specified in the initial condition...
Definition: initialcond.cc:462
ConversionIndex * CI
This is the ConversionIndex used to convert from the initial population LengthGroupDivision to the st...
Definition: initialcond.h:95
FormulaMatrix alpha
This is the FormulaMatrix of the alpha parameter used when calculating the length weight relationship...
Definition: initialcond.h:127
void setCI(const LengthGroupDivision *const GivenLDiv)
This will set the ConversionIndex required for to calculate the initial conditions.
Definition: initialcond.cc:420
~InitialCond()
This is the default InitialCond destructor.
Definition: initialcond.cc:412
InitialCond(CommentStream &infile, const IntVector &areas, Keeper *const keeper, const char *refWeightFile, const char *givenname, const AreaClass *const Area, double DL)
This is the InitialCond constructor.
Definition: initialcond.cc:277
FormulaMatrix meanLength
This is the FormulaMatrix of the mean length at age used to calculate the initial population.
Definition: initialcond.h:119
LengthGroupDivision * LgrpDiv
This is the LengthGroupDivision of the initial population of the stock.
Definition: initialcond.h:91
FormulaMatrix ageFactor
This is the FormulaMatrix of the age factor used to calculate the initial population.
Definition: initialcond.h:111
FormulaMatrix areaFactor
This is the FormulaMatrix of the area factor used to calculate the initial population.
Definition: initialcond.h:107
void Print(ofstream &outfile) const
This function will print the initial population.
Definition: initialcond.cc:433
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
IntVector areas
This is the IntVector of internal areas that the object is defined on.
Definition: livesonareas.h:51