30 #ifndef PathSeriesBase_h 31 #define PathSeriesBase_h 33 #include <domain/load/pattern/time_series/CFactorSeries.h> 34 #include "utility/matrix/Vector.h" 55 PathSeriesBase(
int classTag,
const double &cf= 1.0,
bool last=
false);
62 inline Vector getPath(
void)
const 64 inline void setPath(
const Vector &d)
66 inline void setUseLast(
const bool &b)
68 inline bool getUseLast(
void)
const 69 {
return this->useLast;}
71 void Print(std::ostream &s,
int flag =0)
const;
Float vector abstraction.
Definition: Vector.h:94
Communication parameters between processes.
Definition: Communicator.h:66
void Print(std::ostream &s, int flag=0) const
Printing stuff.
Definition: PathSeriesBase.cc:112
PathSeriesBase(int classTag, const double &cf=1.0, bool last=false)
Constructor.
Definition: PathSeriesBase.cc:38
size_t getNumDataPointsOnFile(const std::string &) const
Return the number of data en on the file with the name being passed as parameter. ...
Definition: PathSeriesBase.cc:53
Vector thePath
vector containing the data points
Definition: PathSeriesBase.h:46
size_t getNumDataPoints(void) const
Return the number of points that define the path.
Definition: PathSeriesBase.cc:49
int sendData(Communicator &comm)
Send members through the communicator argument.
Definition: PathSeriesBase.cc:120
Base class for constant factor time series.
Definition: CFactorSeries.h:39
static size_t load_vector_from_file(Vector &v, std::istream &is)
Read load vector from file.
Definition: PathSeriesBase.cc:76
Base class for time-dependent functions defined by a series of points (ti,fi).
Definition: PathSeriesBase.h:43
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
double getPeakFactor(void) const
Return the peak value of the factor.
Definition: PathSeriesBase.cc:89
int recvData(const Communicator &comm)
Receives members through the communicator argument.
Definition: PathSeriesBase.cc:129