31 #ifndef MovablePointerContainer_h 32 #define MovablePointerContainer_h 34 #include "MovableObject.h" 35 #include "Communicator.h" 83 int result= this->sendData(comm);
88 std::cerr <<
"MovablePointerContainer::sendSelf() - failed to send data\n";
100 std::cerr <<
"MovablePointerContainer::recvSelf() - failed to receive data\n";
102 result+= recvData(comm);
int sendIdData(const DbTagData &, const int &)
Sends miembro data through the communicator argument.
Definition: Communicator.cc:411
T * getBrokedMovable(const int &dbTag, const int &classTag, const Communicator &comm, T *(FEM_ObjectBroker::*ptrFunc)(int))
Returns an empty object of the class identified by classTag.
Definition: MovableObject.h:152
Communication parameters between processes.
Definition: Communicator.h:66
Object that can move between processes.
Definition: MovableObject.h:100
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
T * getBrokedObject(const int &, const int &, const Communicator &)
Returns an empty object of the class identified by classTag.
Definition: MovablePointerContainer.h:75
int recvSelf(const Communicator &)
Receives object through the communicator argument.
Definition: MovablePointerContainer.h:94
MovablePointerContainer(const int &, T *(FEM_ObjectBroker::*pF)(int))
Constructor.
Definition: MovablePointerContainer.h:61
int receiveIdData(DbTagData &, const int &) const
Receives el miembro data through the communicator argument.
Definition: Communicator.cc:415
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
void inicComm(const int &dataSize) const
Initializes communication.
Definition: DistributedBase.cc:61
int getDbTag(void) const
Return the object identifier in the database.
Definition: MovableObject.cpp:99
int sendSelf(Communicator &)
Send the object through the communicator argument.
Definition: MovablePointerContainer.h:80