52 #ifndef PathTimeSeries_h 53 #define PathTimeSeries_h 67 #include "domain/load/pattern/time_series/PathSeriesBase.h" 81 mutable int currentTimeLoc;
90 PathTimeSeries(
const std::string &fileNamePath,
const std::string &fileNameTime,
double cfactor = 1.0);
97 double getFactor(
double pseudoTime)
const;
99 double getTimeIncr(
double pseudoTime)
const;
101 inline Vector getTime(
void)
const 103 inline void setTime(
const Vector &d)
105 inline int getCurrentTimeLoc(
void)
const 106 {
return currentTimeLoc; }
107 inline void setCurrentTimeLoc(
const int &d)
108 { currentTimeLoc= d; }
111 void readFromFiles(
const std::string &filePathName,
const std::string &fileTimeName);
116 void Print(std::ostream &s,
int flag =0)
const;
PathTimeSeries(void)
Default constructor.
Definition: PathTimeSeries.cpp:76
double getDuration(void) const
Returns series duration.
Definition: PathTimeSeries.cpp:270
Base class for time-dependent functions defined by a series of points (ti,fi).
Definition: PathSeriesBase.h:42
int sendData(CommParameters &cp)
Send members through the channel being passed as parameter.
Definition: PathTimeSeries.cpp:282
void Print(std::ostream &s, int flag=0) const
Imprime el objeto.
Definition: PathTimeSeries.cpp:330
double getFactor(double pseudoTime) const
Returns the valor correspondiente al instante being passed as parameter.
Definition: PathTimeSeries.cpp:215
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: PathTimeSeries.cpp:300
int recvData(const CommParameters &cp)
Receives members through the channel being passed as parameter.
Definition: PathTimeSeries.cpp:291
void readFromFile(const std::string &fileName)
Lee el path desde archivo.
Definition: PathTimeSeries.cpp:96
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: PathTimeSeries.cpp:314
Time-dependent function that linear interpolates the load factor using user specified control points ...
Definition: PathTimeSeries.h:77
void readFromFiles(const std::string &filePathName, const std::string &fileTimeName)
Lee el path desde DOS archivos.
Definition: PathTimeSeries.cpp:154
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34
Time variation of loads.A TimeSeries object is used to determine the load factor to be applied to the...
Definition: TimeSeries.h:81
Vector thePath
vector containg the data points
Definition: PathSeriesBase.h:45