Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
PathSeries Class Reference#include <PathSeries.h>
Inheritance diagram for PathSeries::
List of all members.
Detailed Description
The PathSeries class is a concrete subclass of TimeSeries. The relationship between the pseudo time and the load factor follows a user specified path. The path points are specified at constant time intervals. For a pseudo time not at a path point, linear interpolation is performed to determine the load factor. If the time specified is beyond the last path point a load factor of
will be returned.\
}
Definition at line 59 of file PathSeries.h.
Constructor & Destructor Documentation
PathSeries::PathSeries (
|
const Vector & thePath,
|
|
double pathTimeIncr = 1.0,
|
|
double cfactor = 1.0 )
|
|
PathSeries::PathSeries (
|
char * fileName,
|
|
double pathTimeIncr = 1.0,
|
|
double cfactor = 1.0 )
|
|
|
Used to construct a PathSeries when the data points are specified in a Vector. The tag TSERIES\_TAG\_PathSeries is passed to the TimeSeries The tag TSERIES\_TAG\_PathSeries is passed to the TimeSeries constructor. Sets the constant factor used in the relation to {cFactor}. Constructs a new Vector equal to {thePath} containing the data points which are specified at {dT} time intervals. Prints a warning message if no space is available for the Vector.
Definition at line 76 of file PathSeries.cpp. |
PathSeries::PathSeries (
|
)
|
|
|
Used to construct a PathSeries when the data points are specified in a file. The tag TSERIES\_TAG\_PathSeries is passed to the TimeSeries constructor. Sets the constant factor used in the relation to {cFactor}. Opens the file containing and reads in the data points into a new Vector which are specified at {dT} time intervals. Prints a warning message if no space is available for the Vector or if the file could not be found.
Definition at line 48 of file PathSeries.cpp. |
PathSeries::~PathSeries (
|
)
|
|
Member Function Documentation
void PathSeries::Print (
|
ostream & s,
|
|
int flag = 0 ) [virtual]
|
|
|
Prints the string 'PathSeries', the factor{cFactor}, and the time increment {dT}. If {flag} is equal to
the load path Vector is also printed.
Reimplemented from TimeSeries.
Definition at line 275 of file PathSeries.cpp. |
double PathSeries::getDuration (
|
) [virtual]
|
|
|
For a FEM\_ObjectBroker to instantiate an empty PathSeries, recvSelf() must be invoked on this object. The tag TSERIES\_TAG\_PathSeries is passed to the TimeSeries constructor.
Reimplemented from TimeSeries.
Definition at line 166 of file PathSeries.cpp. |
double PathSeries::getFactor (
|
double pseudoTime ) [virtual]
|
|
double PathSeries::getPeakFactor (
|
) [virtual]
|
|
double PathSeries::getTimeIncr (
|
double pseudoTime ) [inline, virtual]
|
|
|
Determines the load factor based on the {pseudoTime} and the data points. Returns
if {pseudoTime} is greater than time of last data point, otherwise returns a linear interpolation of the data points times the factor {cFactor}.
Reimplemented from TimeSeries.
Definition at line 115 of file PathSeries.h. |
int PathSeries::sendSelf (
|
int commitTag,
|
|
Channel & theChannel ) [virtual]
|
|
The documentation for this class was generated from the following files:
|