31 #ifndef MovableDeque_h    32 #define MovableDeque_h    34 #include "MovablePointerContainer.h"    35 #include "MovableID.h"    37 #include "utility/tagged/TaggedObject.h"    38 #include "Communicator.h"    49     typedef std::deque<T *> deque_objects;
    50     typedef typename deque_objects::const_iterator const_iterator;
    51     typedef typename deque_objects::iterator iterator;
    52     deque_objects objects;
    58     const deque_objects &getDeque(
void)
 const    73     const size_t sz= objects.size();
    80     for(
size_t i= 0;i<sz;i++)
    85             classTags(i)= obj->getClassTag();
    89           std::cerr << 
"MovableDeque::sendData; found null"    90                 << 
" pointer in position: " << i << std::endl;
   113     for(
size_t i= 0;i<sz;i++)
   119          res+= tmp->recvSelf(comm);
   123           std::cerr << 
"Error in MovableDeque::recvData i= "  int sendMovable(MovableObject &, DbTagData &, const CommMetaData &)
Sends a movable object through the communicator argument. 
Definition: Communicator.cc:1163
Communication parameters between processes. 
Definition: Communicator.h:66
int sendData(Communicator &)
Send members through the communicator argument. 
Definition: MovableDeque.h:71
const int & getDbTagDataPos(const size_t &i) const
Returns the integer in the position being passed as parameter. 
Definition: DbTagData.cc:58
int send(DbTagData &, Communicator &, const CommMetaData &) const
Sends the object. 
Definition: DbTagData.cc:102
int receiveMovable(MovableObject &, DbTagData &, const CommMetaData &) const
Receives a movable object trhrough the communicator argument. 
Definition: Communicator.cc:1174
Vector that stores the dbTags of the class members. 
Definition: DbTagData.h:44
Template class for maps that can move between processes. 
Definition: MovablePointerContainer.h:43
FEM_ObjectBroker is is an object broker class for the finite element method. 
Definition: FEM_ObjectBroker.h:151
Vector of integers. 
Definition: ID.h:95
T * getBrokedObject(const int &, const int &, const Communicator &)
Returns an empty object of the class identified by classTag. 
Definition: MovablePointerContainer.h:75
int receive(DbTagData &, const Communicator &, const CommMetaData &)
Receive the object. 
Definition: DbTagData.cc:106
Template class for maps that can move between processes. 
Definition: MovableDeque.h:46
int sendID(const ID &, const int &)
Sends vector. 
Definition: Communicator.cc:73
MovableDeque(const deque_objects &deque, T *(FEM_ObjectBroker::*pF)(int))
Constructor. 
Definition: MovableDeque.h:66
const int & getDbTagDataPos(const int &i) const
Returns the data at the i-th position. 
Definition: DistributedBase.cc:53
void setDbTagDataPos(const int &i, const int &v)
Sets the data at the i-th position. 
Definition: DistributedBase.cc:57
DbTagData & getDbTagData(void) const
Returns a vector to store the dbTags of the class members. 
Definition: MovablePointerContainer.h:67
Open source finite element program for structural analysis. 
Definition: ContinuaReprComponent.h:35
int receiveID(ID &v, const int &) const
Receives el vector. 
Definition: Communicator.cc:80
int recvData(const Communicator &)
Receives members through the communicator argument. 
Definition: MovableDeque.h:101