XC Open source finite element analysis program
Public Member Functions | Protected Member Functions | List of all members

Time-dependent function that linear interpolates the load factor using user specified control points provided in a vector object. the points in the vector are given at time points specified in another vector. More...

#include <PathTimeSeries.h>

Inheritance diagram for XC::PathTimeSeries:
XC::PathSeriesBase XC::CFactorSeries XC::TimeSeries XC::MovableObject XC::DistributedBase

Public Member Functions

 PathTimeSeries (void)
 Default constructor.
 
 PathTimeSeries (const Vector &thePath, const Vector &theTime, double cfactor=1.0)
 Constructor.
 
 PathTimeSeries (const std::string &fileNamePath, const std::string &fileNameTime, double cfactor=1.0)
 Constructor.
 
 PathTimeSeries (const std::string &fileName, double cfactor=1.0)
 Constructor.
 
TimeSeriesgetCopy (void) const
 
double getFactor (double pseudoTime) const
 Returns the valor correspondiente al instante being passed as parameter.
 
double getDuration (void) const
 Returns series duration.
 
double getTimeIncr (double pseudoTime) const
 
Vector getTime (void) const
 
void setTime (const Vector &d)
 
int getCurrentTimeLoc (void) const
 
void setCurrentTimeLoc (const int &d)
 
void readFromFile (const std::string &fileName)
 Lee el path desde archivo.
 
void readFromFiles (const std::string &filePathName, const std::string &fileTimeName)
 Lee el path desde DOS archivos.
 
int sendSelf (CommParameters &)
 Sends object through the channel being passed as parameter.
 
int recvSelf (const CommParameters &)
 Receives object through the channel being passed as parameter.
 
void Print (std::ostream &s, int flag=0) const
 Imprime el objeto.
 
- Public Member Functions inherited from XC::PathSeriesBase
 PathSeriesBase (int classTag, const double &cfactor=1.0)
 Constructor.
 
 PathSeriesBase (int classTag, const Vector &thePath, const double &cfactor=1.0)
 Constructor.
 
size_t getNumDataPoints (void) const
 Returns the número de puntos que definen el path.
 
size_t getNumDataPointsOnFile (const std::string &) const
 Returns the number of data en on the file with the name being passed as parameter.
 
double getPeakFactor (void) const
 Returns the peak value of the factor.
 
Vector getPath (void) const
 
void setPath (const Vector &d)
 
int getLastSendCommitTag (void) const
 
void setLastSendCommitTag (const int &d)
 
- Public Member Functions inherited from XC::CFactorSeries
 CFactorSeries (int classTag, double cFactor=1.0)
 Constructor.
 
void setFactor (const double &d)
 
- Public Member Functions inherited from XC::TimeSeries
 TimeSeries (int classTag)
 Constructor.
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 
virtual int updateParameter (int parameterID, Information &info)
 
virtual int activateParameter (int parameterID)
 
virtual double getFactorSensitivity (double pseudoTime)
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor.
 
 MovableObject (int classTag)
 Constructor.
 
 MovableObject (const MovableObject &otro)
 Copy constructor.
 
MovableObjectoperator= (const MovableObject &otro)
 Operacdor asignación.
 
int getClassTag (void) const
 Returns the tag de la clase.
 
int getDbTag (void) const
 Returns the tag para la database.
 
int getDbTag (CommParameters &)
 Returns the tag para la database.
 
void setDbTag (int dbTag)
 Asigna el tag para la database.
 
void setDbTag (CommParameters &)
 Asigna, sólo si es preciso, el tag para la database.
 
virtual int setVariable (const std::string &variable, Information &)
 Returns the identificador de la variable cuyo nombre being passed as parameter.
 
virtual int getVariable (const std::string &variable, Information &)
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
const int & getDbTagDataPos (const int &i) const
 Returns the data at the i-th position.
 
void setDbTagDataPos (const int &i, const int &v)
 Sets the data at the i-th position.
 
void inicComm (const int &dataSize) const
 Initializes communication.
 

Protected Member Functions

int sendData (CommParameters &cp)
 Send members through the channel being passed as parameter.
 
int recvData (const CommParameters &cp)
 Receives members through the channel being passed as parameter.
 
- Protected Member Functions inherited from XC::PathSeriesBase
int sendData (CommParameters &cp)
 Send members through the channel being passed as parameter.
 
int recvData (const CommParameters &cp)
 Receives members through the channel being passed as parameter.
 
- Protected Member Functions inherited from XC::CFactorSeries
DbTagDatagetDbTagData (void) const
 Returns a vector para almacenar los dbTags de los miembros de la clase.
 
int sendData (CommParameters &cp)
 Send object members through the channel being passed as parameter.
 
int recvData (const CommParameters &cp)
 Receives object members through the channel being passed as parameter.
 

Additional Inherited Members

- Static Protected Member Functions inherited from XC::PathSeriesBase
static size_t load_vector_from_file (Vector &v, std::istream &is)
 Lee desde archivo.
 
- Protected Attributes inherited from XC::PathSeriesBase
Vector thePath
 vector containg the data points
 
int lastSendCommitTag
 
- Protected Attributes inherited from XC::CFactorSeries
double cFactor
 

Detailed Description

Time-dependent function that linear interpolates the load factor using user specified control points provided in a vector object. the points in the vector are given at time points specified in another vector.


The documentation for this class was generated from the following files: