29 #ifndef PathSeriesBase_h 30 #define PathSeriesBase_h 32 #include <domain/load/pattern/time_series/CFactorSeries.h> 33 #include "utility/matrix/Vector.h" 46 int lastSendCommitTag;
61 inline Vector getPath(
void)
const 63 inline void setPath(
const Vector &d)
65 inline int getLastSendCommitTag(
void)
const 66 {
return lastSendCommitTag; }
67 inline void setLastSendCommitTag(
const int &d)
68 { lastSendCommitTag= d; }
70 void Print(std::ostream &s,
int flag =0)
const;
double getPeakFactor(void) const
Returns the peak value of the factor.
Definition: PathSeriesBase.cc:87
Base class for constant factor time series.
Definition: CFactorSeries.h:38
int recvData(const CommParameters &cp)
Receives members through the channel being passed as parameter.
Definition: PathSeriesBase.cc:120
PathSeriesBase(int classTag, const double &cfactor=1.0)
Constructor.
Definition: PathSeriesBase.cc:38
size_t getNumDataPointsOnFile(const std::string &) const
Returns the number of data en on the file with the name being passed as parameter.
Definition: PathSeriesBase.cc:52
Base class for time-dependent functions defined by a series of points (ti,fi).
Definition: PathSeriesBase.h:42
size_t getNumDataPoints(void) const
Returns the número de puntos que definen el path.
Definition: PathSeriesBase.cc:48
static size_t load_vector_from_file(Vector &v, std::istream &is)
Lee desde archivo.
Definition: PathSeriesBase.cc:74
void Print(std::ostream &s, int flag=0) const
Imprime el objeto.
Definition: PathSeriesBase.cc:103
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34
Vector thePath
vector containg the data points
Definition: PathSeriesBase.h:45
int sendData(CommParameters &cp)
Send members through the channel being passed as parameter.
Definition: PathSeriesBase.cc:111