30 #ifndef DqGroundMotions_h 31 #define DqGroundMotions_h 33 #include "utility/kernel/CommandEntity.h" 35 #include "utility/actor/actor/MovableObject.h" 48 typedef std::deque<GroundMotion *> dq_ptr_GroundMotions;
49 typedef dq_ptr_GroundMotions::const_reference const_reference;
50 typedef dq_ptr_GroundMotions::reference reference;
51 typedef dq_ptr_GroundMotions::iterator iterator;
52 typedef dq_ptr_GroundMotions::const_iterator const_iterator;
65 inline bool empty(
void)
const 66 {
return gMotions.empty(); }
67 inline size_t getNumGroundMotions(
void)
const 68 {
return gMotions.size(); }
70 inline iterator begin(
void)
71 {
return gMotions.begin(); }
72 inline const_iterator begin(
void)
const 73 {
return gMotions.begin(); }
74 inline iterator end(
void)
75 {
return gMotions.end(); }
76 inline const_iterator end(
void)
const 77 {
return gMotions.end(); }
79 inline reference operator[](
const size_t &n)
80 {
return gMotions[n]; }
81 inline const_reference operator[](
const size_t &n)
const 82 {
return gMotions[n]; }
91 void Print(std::ostream &s,
const int &flag)
const;
int recvSelf(const Communicator &)
Receives object through the communicator argument.
Definition: DqGroundMotions.cc:117
Communication parameters between processes.
Definition: Communicator.h:66
~DqGroundMotions(void)
Destructor:
Definition: DqGroundMotions.cc:68
Object that can move between processes.
Definition: MovableObject.h:100
DqGroundMotions & operator=(const DqGroundMotions &)
Assignment operator.
Definition: DqGroundMotions.cc:44
int sendData(Communicator &)
Sends object through the communicator argument.
Definition: DqGroundMotions.cc:72
DqGroundMotions(const size_t &num=0)
Constructor.
Definition: DqGroundMotions.cc:36
Base class for ground motions.
Definition: GroundMotion.h:84
Objet that can execute python scripts.
Definition: CommandEntity.h:40
int recvData(const Communicator &)
Receives object through the communicator argument.
Definition: DqGroundMotions.cc:85
Seismic definitions container.
Definition: DqGroundMotions.h:45
dq_ptr_GroundMotions gMotions
Pointers to GroundMotion container.
Definition: DqGroundMotions.h:54
int sendSelf(Communicator &)
Sends object through the communicator argument.
Definition: DqGroundMotions.cc:103
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35