65 #ifndef GroundMotionRecord_h 66 #define GroundMotionRecord_h 68 #include "GroundMotion.h" 69 #include "MotionHistory.h" 81 GroundMotionRecord(
const std::string &fileNameAccel,
double timeStep,
double fact = 1.0,
double dTintegration = 0.01);
82 GroundMotionRecord(
const std::string &fileNameAccel,
const std::string &fileNameTime,
double fact = 1.0,
double dTintegration = 0.01);
88 virtual double getPeakAccel(
void)
const;
89 virtual double getPeakVel(
void)
const;
90 virtual double getPeakDisp(
void)
const;
92 virtual double getAccel(
double time)
const;
93 virtual double getVel(
double time)
const;
94 virtual double getDisp(
double time)
const;
101 boost::python::dict
getPyDict(
void)
const;
102 void setPyDict(
const boost::python::dict &);
105 virtual double getAccelSensitivity(
double time);
Data from a real earthquake.
Definition: GroundMotionRecord.h:75
Communication parameters between processes.
Definition: Communicator.h:66
virtual int setParameter(const std::vector< std::string > &argv, Parameter ¶m)
Sets the value param to the parameter argv.
Definition: GroundMotionRecord.cpp:278
virtual int activateParameter(int parameterID)
Activates the parameter identified by parameterID.
Definition: GroundMotionRecord.cpp:284
virtual GroundMotion * getCopy(void) const
Virtual constructor.
Definition: GroundMotionRecord.cpp:85
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: GroundMotionRecord.cpp:261
Data that define acceleration, velocities and displacements due to a earthquake.
Definition: MotionHistory.h:47
virtual double getDuration(void) const
Return the duration of the motion history.
Definition: GroundMotionRecord.cpp:89
Base class for ground motions.
Definition: GroundMotion.h:84
int sendSelf(Communicator &)
Send the object.
Definition: GroundMotionRecord.cpp:111
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Parameter.
Definition: Parameter.h:68
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: GroundMotionRecord.cpp:269
int recvSelf(const Communicator &)
Receive the object.
Definition: GroundMotionRecord.cpp:186
virtual int updateParameter(int parameterID, Information &info)
Updates the parameter identified by parameterID with info.
Definition: GroundMotionRecord.cpp:281