35 #ifndef periodicpiecewiselinfunction_h 36 #define periodicpiecewiselinfunction_h 43 #define _IFT_PeriodicPiecewiseLinFunction_Name "periodicpiecewiselinfunction" 44 #define _IFT_PeriodicPiecewiseLinFunction_period "period" 45 #define _IFT_PeriodicPiecewiseLinFunction_addtf "addtf" 80 virtual const char *
giveClassName()
const {
return "PeriodicPiecewiseClass"; }
83 virtual double evaluateAtTime(
double);
84 virtual double evaluateVelocityAtTime(
double);
88 #endif // periodicpiecewiselinfunction_h virtual ~PeriodicPiecewiseLinFunction()
double period
If less than zero no periodicity, if >=0 date time is computed as given timeperiod.
virtual const char * giveInputRecordName() const
#define _IFT_PeriodicPiecewiseLinFunction_Name
PeriodicPiecewiseLinFunction(int i, Domain *d)
int addTF
If nonzero, the value of time function specified by addTF is added to computed value.
This class implements an enhanced piecewise linear function with periodicity.
virtual double evaluateAccelerationAtTime(double)
Returns the second time derivative of the function at given time.
IRResultType
Type defining the return values of InputRecord reading operations.
This class implements a piecewise linear function.
virtual const char * giveClassName() const
the oofem namespace is to define a context or scope in which all oofem names are defined.