Go to the documentation of this file.
44double PeriodicPiecewiseLinFunction :: evaluateAtTime(
double time)
51 if ( !this->
dates.giveSize() ) {
60 add =
domain->giveFunction(
addTF)->evaluateAtTime(time);
67 if ( (
period >= 0.0 ) && ( time > last ) ) {
68 double d = ( time - last ) /
period;
69 time = last + ( d - floor(d) - 1. ) *
period;
72 return add + PiecewiseLinFunction :: evaluateAtTime(time);
76double PeriodicPiecewiseLinFunction :: evaluateVelocityAtTime(
double time)
83 if ( !this->
dates.giveSize() ) {
92 add =
domain->giveFunction(
addTF)->evaluateVelocityAtTime(time);
99 if ( (
period >= 0.0 ) && ( time > last ) ) {
100 double d = ( time - last ) /
period;
101 time = last + ( d - floor(d) - 1. ) *
period;
104 return add + PiecewiseLinFunction :: evaluateVelocityAtTime(time);
110 PiecewiseLinFunction :: initializeFrom(ir);
120 PiecewiseLinFunction :: giveInputRecord(input);
#define REGISTER_Function(class)
Domain * domain
Link to domain object, useful for communicating with other FEM components.
int addTF
If nonzero, the value of time function specified by addTF is added to computed value.
#define _IFT_PeriodicPiecewiseLinFunction_period
#define _IFT_PeriodicPiecewiseLinFunction_addtf
This page is part of the
OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak
Bořek Patzák
Project e-mail:
oofem@fsv.cvut.cz
Generated at for OOFEM by
doxygen
1.15.0 written by Dimitri van Heesch,
© 1997-2011