35 #ifndef constantfunction_h 36 #define constantfunction_h 40 #define _IFT_ConstantFunction_Name "constantfunction" 41 #define _IFT_ConstantFunction_f "f(t)" 76 virtual const char *
giveClassName()
const {
return "ConstantFunction"; }
80 #endif // constantfunction_h
virtual void evaluate(FloatArray &answer, const std::map< std::string, FunctionArgument > &valDict, GaussPoint *gp=NULL, double param=0.)
Returns the value of the function for given input.
#define _IFT_ConstantFunction_Name
virtual const char * giveInputRecordName() const
virtual const char * giveClassName() const
virtual double evaluateAtTime(double t)
Returns the value of the function at given time.
virtual double evaluateAccelerationAtTime(double t)
Returns the second time derivative of the function at given time.
virtual ~ConstantFunction()
Destructor.
Class representing vector of real numbers.
Abstract base class representing a function with vector input and output.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual double evaluateVelocityAtTime(double t)
Returns the first time derivative of the function at given time.
ConstantFunction(int i, Domain *d)
Constructor.
double value
Value of receiver.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing integration point in finite element program.
Class implementing time function that is constant in time; .