57 if ( mode == VM_Total ) {
59 }
else if ( mode == VM_Velocity ) {
61 }
else if ( mode == VM_Acceleration ) {
63 }
else if ( mode == VM_Incremental ) {
65 }
else if (mode == VM_Intermediate) {
81 OOFEM_ERROR(
"Function doesn't return scalar results.");
92 auto it = valDict.find(
"t");
93 if ( it == valDict.end() )
114 OOFEM_ERROR(
"Function does not return scalar value");
virtual double evaluateAccelerationAtTime(double t)=0
Returns the second time derivative of the function at given time.
double giveFunctionParameter(int paramID)
double & at(int i)
Coefficient access function.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
Function(int n, Domain *d)
Constructor.
double giveTargetTime()
Returns target time.
double evaluate(TimeStep *tStep, ValueModeType mode)
Returns the value of load time function at given time.
double giveTimeIncrement()
Returns solution step associated time increment.
double giveIntrinsicTime()
Returns intrinsic time, e.g. time in which constitutive model is evaluated.
virtual double evaluateVelocityAtTime(double t)=0
Returns the first time derivative of the function at given time.
Class representing vector of real numbers.
Domain * giveDomain() const
int giveSize() const
Returns the size of receiver.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual double evaluateAtTime(double t)
Returns the value of the function at given time.
Class representing integration point in finite element program.
Class representing solution step.
The top abstract class of all classes constituting the finite element mesh.