This is the class used to calculate a constant selection level.
Definition: selectfunc.h:65
virtual double calculate(double len)
This will return the selection level that has been calculated.
Definition: selectfunc.cc:29
ConstSelectFunc()
This is the ConstSelectFunc constructor.
Definition: selectfunc.cc:25
virtual ~ConstSelectFunc()
This is the default ConstSelectFunc destructor.
Definition: selectfunc.h:74
This is the class used to calculate the selection level based on an exponential function of length.
Definition: selectfunc.h:87
virtual double calculate(double len)
This will return the selection level that has been calculated.
Definition: selectfunc.cc:40
ExpSelectFunc()
This is the ExpSelectFunc constructor.
Definition: selectfunc.cc:36
virtual ~ExpSelectFunc()
This is the default ExpSelectFunc destructor.
Definition: selectfunc.h:96
This is the base class for any object that has a name.
Definition: hasname.h:10
This is the class used to store information about the variables that are used in model simulation.
Definition: keeper.h:17
This class implements a dynamic vector of ModelVariable values.
Definition: modelvariablevector.h:10
int Size() const
This will return the size of the vector.
Definition: modelvariablevector.h:44
This is the base class used to calculate the selection level as a function of length.
Definition: selectfunc.h:14
void updateConstants(const TimeClass *const TimeInfo)
This function will update the selection function parameters.
Definition: selectfunc.cc:14
virtual double calculate(double len)=0
This will return the selection level that has been calculated.
SelectFunc(const char *givenname)
This is the default SelectFunc constructor.
Definition: selectfunc.h:20
ModelVariableVector coeff
This is the ModelVariableVector of the selection function constants.
Definition: selectfunc.h:53
virtual ~SelectFunc()
This is the default SelectFunc destructor.
Definition: selectfunc.h:24
void readConstants(CommentStream &infile, const TimeClass *const TimeInfo, Keeper *const keeper)
This function will read the value of the selection function parameters from file.
Definition: selectfunc.cc:7
int didChange(const TimeClass *const TimeInfo)
This function will check to see if the selection function parameters have changed.
Definition: selectfunc.cc:18
int numConstants()
This will return the number of constants used to calculate the selection value.
Definition: selectfunc.h:53
This is the class used to calculate the selection level based on a linear function of length.
Definition: selectfunc.h:109
virtual ~StraightSelectFunc()
This is the default StraightSelectFunc destructor.
Definition: selectfunc.h:118
StraightSelectFunc()
This is the StraightSelectFunc constructor.
Definition: selectfunc.cc:47
virtual double calculate(double len)
This will return the selection level that has been calculated.
Definition: selectfunc.cc:51
This is the class used to store information about the timesteps used for the current model.
Definition: areatime.h:87