35 #ifndef calculatorfunction_h 36 #define calculatorfunction_h 42 #define _IFT_CalculatorFunction_Name "usrdefltf" 43 #define _IFT_CalculatorFunction_f "f(t)" 45 #define _IFT_CalculatorFunction_dfdt "dfdt(t)" 46 #define _IFT_CalculatorFunction_d2fdt2 "d2fdt2(t)" 85 virtual void evaluate(
FloatArray &answer,
const std :: map< std :: string, FunctionArgument > &valDict);
86 virtual double evaluateAtTime(
double t);
87 virtual double evaluateVelocityAtTime(
double t);
88 virtual double evaluateAccelerationAtTime(
double t);
90 virtual const char *
giveClassName()
const {
return "CalculatorFunction"; }
94 #endif // calculatorfunction_h
std::string dfdtExpression
Expression for first time derivative.
virtual ~CalculatorFunction()
Destructor.
#define _IFT_CalculatorFunction_Name
std::string d2fdt2Expression
Expression for second time derivative.
Class representing user defined load time function.
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.
std::string fExpression
Expression for the function value.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual const char * giveClassName() const
virtual const char * giveInputRecordName() const