xc
Public Member Functions | List of all members
XC::Communicator Class Reference

Communication parameters between processes. More...

#include <Communicator.h>

Public Member Functions

 Communicator (int cTag, Channel &)
 Constructor.
 
 Communicator (int cTag, Channel &, FEM_ObjectBroker &)
 Constructor.
 
const int & getCommitTag (void) const
 
int getDbTag (void) const
 Ask the channel for a tag for the database.
 
bool isDatastore (void) const
 Returns true if it's a data store.
 
const Channel * getChannel (void) const
 
Channel * getChannel (void)
 
int sendIdData (const DbTagData &, const int &)
 Sends miembro data through the communicator argument.
 
int receiveIdData (DbTagData &, const int &) const
 Receives el miembro data through the communicator argument.
 
int sendID (const ID &, const int &)
 Sends vector.
 
int receiveID (ID &v, const int &) const
 Receives el vector.
 
int sendVector (const Vector &, const int &)
 Sends vector.
 
int receiveVector (Vector &v, const int &) const
 Receives el vector.
 
int sendMatrix (const Matrix &, const int &)
 Send the matrix through the communicator argument.
 
int receiveMatrix (Matrix &v, const int &) const
 Receives the matrix through the communicator argument.
 
int sendID (const ID &, DbTagData &, const CommMetaData &)
 Sends an ID object through the communicator argument. More...
 
int receiveID (ID &v, DbTagData &, const CommMetaData &) const
 Receives an ID object through the communicator argument. More...
 
int sendIDPtr (ID *, DbTagData &, const ArrayCommMetaData &)
 Sends an ID pointer through the communicator being passed as parameter. More...
 
ID * receiveIDPtr (ID *&, DbTagData &, const ArrayCommMetaData &) const
 Receives an ID pointer through the communicator being passed as parameter. More...
 
int sendMovableIDPtr (MovableID *, DbTagData &, const PtrCommMetaData &)
 Sends a MovableID pointer through the communicator argument. More...
 
MovableID * receiveMovableIDPtr (MovableID *&, DbTagData &, const PtrCommMetaData &)
 Receives a MovableID pointer through the communicator argument. More...
 
int sendMatrix (const Matrix &, DbTagData &, const CommMetaData &)
 Send the matrix through the communicator argument More...
 
int receiveMatrix (Matrix &v, DbTagData &, const CommMetaData &) const
 Receives the matrix through the communicator argument. More...
 
int sendMatrixPtr (Matrix *ptr, DbTagData &, const MatrixCommMetaData &)
 Send a pointer to the matrix through the communicator argument. More...
 
Matrix * receiveMatrixPtr (Matrix *&ptr, DbTagData &, const MatrixCommMetaData &) const
 Receives a pointer to the matrix through the communicator argument. More...
 
int sendTensorPtr (BJtensor *ptr, DbTagData &, const TensorCommMetaData &)
 Send a pointer to the tensor through the communicator argument.
 
BJtensor * receiveTensorPtr (BJtensor *&ptr, DbTagData &, const TensorCommMetaData &) const
 Receives a pointer to tensor through the communicator argument.
 
int sendMovableMatrixPtr (MovableMatrix *, DbTagData &, const PtrCommMetaData &)
 Sends a MovableMatrix pointer through the communicator argument. More...
 
MovableMatrix * receiveMovableMatrixPtr (MovableMatrix *&, DbTagData &, const PtrCommMetaData &)
 Receives a MovableMatrix pointer through the communicator argument. More...
 
int sendMatrices (const std::vector< Matrix > &, DbTagData &, const CommMetaData &)
 Sends the matrices. More...
 
int receiveMatrices (std::vector< Matrix > &, DbTagData &, const CommMetaData &) const
 Receives las matrices. More...
 
int sendString (const std::string &, DbTagData &, const CommMetaData &)
 Send the text string through the communicator argument. More...
 
int receiveString (std::string &v, DbTagData &, const CommMetaData &) const
 Receives la text string through the communicator argument. More...
 
int sendStrings (std::deque< std::string > &, DbTagData &, const CommMetaData &)
 Sends the string container through the communicator argument. More...
 
int receiveStrings (std::deque< std::string > &, DbTagData &, const CommMetaData &) const
 Receives the string container through the communicator argument. More...
 
int sendStrings (std::vector< std::string > &, DbTagData &, const CommMetaData &)
 Sends the string container through the communicator argument. More...
 
int receiveStrings (std::vector< std::string > &, DbTagData &, const CommMetaData &) const
 Receives the string container through the communicator argument. More...
 
int sendVector (const Vector &, DbTagData &, const CommMetaData &)
 Sends vector. More...
 
int receiveVector (Vector &v, DbTagData &, const CommMetaData &) const
 Receives el vector. More...
 
int sendVectors (std::vector< Vector > &, DbTagData &, const CommMetaData &)
 Sends the vector container through the communicator argument. More...
 
int receiveVectors (std::vector< Vector > &v, DbTagData &, const CommMetaData &) const
 Receives the vector container through the communicator argument. More...
 
int sendIDs (std::vector< ID > &, DbTagData &, const CommMetaData &)
 Sends the ID container through the communicator argument. More...
 
int receiveIDs (std::vector< ID > &v, DbTagData &, const CommMetaData &) const
 Receives the ID container through the communicator argument. More...
 
int sendVector (const std::vector< double > &, DbTagData &, const CommMetaData &)
 Sends vector. More...
 
int receiveVector (std::vector< double > &v, DbTagData &, const CommMetaData &) const
 Receives el vector. More...
 
int sendVectorPtr (Vector *ptr, DbTagData &, const ArrayCommMetaData &)
 Sends the Vector pointed by ptr through the communicator argument. More...
 
Vector * receiveVectorPtr (Vector *&ptr, DbTagData &, const ArrayCommMetaData &) const
 Receives a Vector pointed by ptr through the communicator argument. More...
 
int sendMovableVectorPtr (MovableVector *, DbTagData &, const PtrCommMetaData &)
 Sends a MovableVector pointer through the communicator argument. More...
 
MovableVector * receiveMovableVectorPtr (MovableVector *&, DbTagData &, const PtrCommMetaData &)
 Receives a MovableVector pointer through the communicator argument. More...
 
int sendTensor (const BJtensor &, DbTagData &, const CommMetaData &)
 Sends tensor through the communicator argument. More...
 
int receiveTensor (BJtensor &v, DbTagData &, const CommMetaData &) const
 Receives el tensor through the communicator argument. More...
 
int sendDoublePtr (double *, DbTagData &, const ArrayCommMetaData &)
 Send the array data through the communicator argument. More...
 
double * receiveDoublePtr (double *&, DbTagData &, const ArrayCommMetaData &) const
 Receive the array data through the communicator argument. More...
 
int sendDouble (const double &, DbTagData &, const CommMetaData &)
 Sends a double through the communicator argument. More...
 
int sendDoubles (const double &, const double &, DbTagData &, const CommMetaData &)
 Send the doubles through the communicator argument. More...
 
int sendDoubles (const double &, const double &, const double &, DbTagData &, const CommMetaData &)
 Send the doubles through the communicator argument. More...
 
int sendDoubles (const double &, const double &, const double &, const double &, DbTagData &, const CommMetaData &)
 Send the doubles through the communicator argument. More...
 
int sendDoubles (const double &, const double &, const double &, const double &, const double &, DbTagData &, const CommMetaData &)
 Send the doubles through the communicator argument. More...
 
int sendDoubles (const double &, const double &, const double &, const double &, const double &, const double &, DbTagData &, const CommMetaData &)
 Send the doubles through the communicator argument. More...
 
int receiveDouble (double &, DbTagData &, const CommMetaData &) const
 Receives el double through the communicator argument. More...
 
int receiveDoubles (double &, double &, DbTagData &, const CommMetaData &) const
 Receives the doubles through the communicator argument. More...
 
int receiveDoubles (double &, double &, double &, DbTagData &, const CommMetaData &) const
 Receives the doubles through the communicator argument. More...
 
int receiveDoubles (double &, double &, double &, double &, DbTagData &, const CommMetaData &) const
 Receives the doubles through the communicator argument. More...
 
int receiveDoubles (double &, double &, double &, double &, double &, DbTagData &, const CommMetaData &) const
 Receives the doubles through the communicator argument. More...
 
int receiveDoubles (double &, double &, double &, double &, double &, double &, DbTagData &, const CommMetaData &) const
 Receives the doubles through the communicator argument. More...
 
int sendBool (const bool &, DbTagData &, const CommMetaData &)
 Sends bool through the communicator argument. More...
 
int sendBools (const bool &, const bool &, DbTagData &, const CommMetaData &)
 Sends the bools through the communicator argument. More...
 
int sendBools (const bool &, const bool &, const bool &, DbTagData &, const CommMetaData &)
 Sends the bools through the communicator argument. More...
 
int sendBools (const bool &, const bool &, const bool &, const bool &, DbTagData &, const CommMetaData &)
 Sends the bools through the communicator argument. More...
 
int sendBools (const bool &, const bool &, const bool &, const bool &, const bool &, DbTagData &, const CommMetaData &)
 Sends the bools through the communicator argument. More...
 
int sendBools (const bool &, const bool &, const bool &, const bool &, const bool &, const bool &, DbTagData &, const CommMetaData &)
 Sends the bools through the communicator argument. More...
 
int receiveBool (bool &, DbTagData &, const CommMetaData &) const
 Sends the bool through the communicator argument. More...
 
int receiveBools (bool &, bool &, DbTagData &, const CommMetaData &) const
 Receives the bools through the communicator argument. More...
 
int receiveBools (bool &, bool &, bool &, DbTagData &, const CommMetaData &) const
 Receives the bools through the communicator argument. More...
 
int receiveBools (bool &, bool &, bool &, bool &, DbTagData &, const CommMetaData &) const
 Receives the bools through the communicator argument. More...
 
int receiveBools (bool &, bool &, bool &, bool &, bool &, DbTagData &, const CommMetaData &) const
 Receives the bools through the communicator argument. More...
 
int receiveBools (bool &, bool &, bool &, bool &, bool &, bool &, DbTagData &, const CommMetaData &) const
 Receives the bools through the communicator argument. More...
 
int sendInt (const int &, DbTagData &, const CommMetaData &)
 Sends the integer through the communicator argument. More...
 
int sendInts (const int &, const int &, DbTagData &, const CommMetaData &)
 Sends the integers through the communicator argument. More...
 
int sendInts (const int &, const int &, const int &, DbTagData &, const CommMetaData &)
 Sends the integers through the communicator argument. More...
 
int sendInts (const int &, const int &, const int &, const int &, DbTagData &, const CommMetaData &)
 Sends the integers through the communicator argument. More...
 
int sendInts (const int &, const int &, const int &, const int &, const int &, DbTagData &, const CommMetaData &)
 Sends the integers through the communicator argument. More...
 
int sendInts (const int &, const int &, const int &, const int &, const int &, const int &, DbTagData &, const CommMetaData &)
 Sends the integers through the communicator argument. More...
 
int receiveInt (int &, DbTagData &, const CommMetaData &) const
 Receives the integers through the communicator argument. More...
 
int receiveInts (int &, int &, DbTagData &, const CommMetaData &) const
 Receives the integers through the communicator argument. More...
 
int receiveInts (int &, int &, int &, DbTagData &, const CommMetaData &) const
 Receives the integers through the communicator argument. More...
 
int receiveInts (int &, int &, int &, int &, DbTagData &, const CommMetaData &) const
 Receives the integers through the communicator argument. More...
 
int receiveInts (int &, int &, int &, int &, int &, DbTagData &, const CommMetaData &) const
 Receives the integers through the communicator argument. More...
 
int receiveInts (int &, int &, int &, int &, int &, int &, DbTagData &, const CommMetaData &) const
 Receives the integers through the communicator argument. More...
 
size_t sendSzt (const size_t &, DbTagData &, const CommMetaData &)
 Sends entero through the communicator argument. More...
 
size_t sendSzts (const size_t &, const size_t &, DbTagData &, const CommMetaData &)
 Sends the integers through the communicator argument. More...
 
size_t sendSzts (const size_t &, const size_t &, const size_t &, DbTagData &, const CommMetaData &)
 Sends the integers through the communicator argument. More...
 
size_t sendSzts (const size_t &, const size_t &, const size_t &, const size_t &, DbTagData &, const CommMetaData &)
 Sends the integers through the communicator argument. More...
 
size_t sendSzts (const size_t &, const size_t &, const size_t &, const size_t &, const size_t &, DbTagData &, const CommMetaData &)
 Sends the integers through the communicator argument. More...
 
size_t sendSzts (const size_t &, const size_t &, const size_t &, const size_t &, const size_t &, const size_t &, DbTagData &, const CommMetaData &)
 Sends the integers through the communicator argument. More...
 
size_t receiveSzt (size_t &, DbTagData &, const CommMetaData &) const
 Receives the integers through the communicator argument. More...
 
size_t receiveSzts (size_t &, size_t &, DbTagData &, const CommMetaData &) const
 Receives the integers through the communicator argument. More...
 
size_t receiveSzts (size_t &, size_t &, size_t &, DbTagData &, const CommMetaData &) const
 Receives the integers through the communicator argument. More...
 
size_t receiveSzts (size_t &, size_t &, size_t &, size_t &, DbTagData &, const CommMetaData &) const
 Receives the integers through the communicator argument. More...
 
size_t receiveSzts (size_t &, size_t &, size_t &, size_t &, size_t &, DbTagData &, const CommMetaData &) const
 Receives the integers through the communicator argument. More...
 
size_t receiveSzts (size_t &, size_t &, size_t &, size_t &, size_t &, size_t &, DbTagData &, const CommMetaData &) const
 Receives the integers through the communicator argument. More...
 
ResponseId * receiveResponseIdPtr (ResponseId *&, DbTagData &, const ArrayCommMetaData &) const
 Receives a ResponseId object. More...
 
int sendMovable (MovableObject &, DbTagData &, const CommMetaData &)
 Sends a movable object through the communicator argument. More...
 
int receiveMovable (MovableObject &, DbTagData &, const CommMetaData &) const
 Receives a movable object trhrough the communicator argument. More...
 
int sendMovablePtr (MovableObject *ptr, DbTagData &, const PtrCommMetaData &)
 Sends a pointer to movable object through the communicator argument. More...
 
template<class MOV >
MOV * receiveMovablePtr (MOV *&, DbTagData &, const PtrCommMetaData &) const
 
int sendBrokedPtr (MovableObject *ptr, DbTagData &, const BrokedPtrCommMetaData &)
 Sends a pointer to movable object through the communicator argument. More...
 
template<class T >
T * getBrokedPtr (const int &, T *(FEM_ObjectBroker::*ptrFunc)(int)) const
 
template<class T >
T * getBrokedTagged (T *&ptr, const int &, const int &, const int &, T *(FEM_ObjectBroker::*ptrFunc)(int)) const
 
template<class MAT >
MAT * getBrokedMaterial (MAT *&, DbTagData &, const BrokedPtrCommMetaData &) const
 
template<class HDL >
HDL * getBrokedDataOutputHandler (HDL *&, DbTagData &, const BrokedPtrCommMetaData &) const
 
template<class GM >
GM * getBrokedGroundMotion (GM *&, DbTagData &, const BrokedPtrCommMetaData &) const
 
ConstraintHandler * brokeConstraintHandler (const int &) const
 
DOF_Numberer * brokeNumberer (const int &) const
 
AnalysisModel * brokeAnalysisModel (const int &) const
 
LinearSOE * brokeDDLinearSOE (const int &, const int &) const
 
LinearSOE * brokeLinearSOE (const int &, const int &) const
 
IncrementalIntegrator * brokeIncrementalIntegrator (const int &) const
 
StaticIntegrator * brokeStaticIntegrator (const int &) const
 
TransientIntegrator * brokeTransientIntegrator (const int &) const
 
DomainDecompAlgo * brokeDomainDecompAlgo (const int &) const
 
EquiSolnAlgo * brokeEquiSolnAlgo (const int &) const
 
GroundMotion * brokeGroundMotion (const int &) const
 
DomainSolver * getNewDomainSolver (void) const
 
DomainDecompositionAnalysis * getNewDomainDecompAnalysis (int, Subdomain &) const
 
ConvergenceTest * getNewConvergenceTest (CommandEntity *owr, int classTag) const
 
TimeSeries * getNewTimeSeries (int classTag) const
 
CrdTransf2d * getNewCrdTransf2d (int classTag) const
 
CrdTransf3d * getNewCrdTransf3d (int classTag) const
 
CrdTransf * getNewCrdTransf (int classTag) const
 
ShellCrdTransf3dBase * getNewShellCrdTransf3d (int classTag) const
 
BeamIntegration * getNewBeamIntegration (int classTag) const
 

Detailed Description

Communication parameters between processes.

Member Function Documentation

◆ receiveBool()

int XC::Communicator::receiveBool ( bool &  b,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Sends the bool through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveBools() [1/5]

int XC::Communicator::receiveBools ( bool &  b1,
bool &  b2,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the bools through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveBools() [2/5]

int XC::Communicator::receiveBools ( bool &  b1,
bool &  b2,
bool &  b3,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the bools through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveBools() [3/5]

int XC::Communicator::receiveBools ( bool &  b1,
bool &  b2,
bool &  b3,
bool &  b4,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the bools through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveBools() [4/5]

int XC::Communicator::receiveBools ( bool &  b1,
bool &  b2,
bool &  b3,
bool &  b4,
bool &  b5,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the bools through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveBools() [5/5]

int XC::Communicator::receiveBools ( bool &  b1,
bool &  b2,
bool &  b3,
bool &  b4,
bool &  b5,
bool &  b6,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the bools through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveDouble()

int XC::Communicator::receiveDouble ( double &  db1,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives el double through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveDoublePtr()

double * XC::Communicator::receiveDoublePtr ( double *&  ptr,
DbTagData &  dt,
const ArrayCommMetaData &  meta 
) const

Receive the array data through the communicator argument.

Parameters
metaindex where the object dbTag and size are stored.

◆ receiveDoubles() [1/5]

int XC::Communicator::receiveDoubles ( double &  db1,
double &  db2,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the doubles through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveDoubles() [2/5]

int XC::Communicator::receiveDoubles ( double &  db1,
double &  db2,
double &  db3,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the doubles through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveDoubles() [3/5]

int XC::Communicator::receiveDoubles ( double &  db1,
double &  db2,
double &  db3,
double &  db4,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the doubles through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveDoubles() [4/5]

int XC::Communicator::receiveDoubles ( double &  db1,
double &  db2,
double &  db3,
double &  db4,
double &  db5,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the doubles through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveDoubles() [5/5]

int XC::Communicator::receiveDoubles ( double &  db1,
double &  db2,
double &  db3,
double &  db4,
double &  db5,
double &  db6,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the doubles through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveID()

int XC::Communicator::receiveID ( ID &  v,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives an ID object through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveIDPtr()

XC::ID * XC::Communicator::receiveIDPtr ( ID *&  ptr,
DbTagData &  dt,
const ArrayCommMetaData &  meta 
) const

Receives an ID pointer through the communicator being passed as parameter.

Parameters
ptrID pointer to receive.
metaindex where the object dbTag and size are stored.

◆ receiveIDs()

int XC::Communicator::receiveIDs ( std::vector< ID > &  ids,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the ID container through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveInt()

int XC::Communicator::receiveInt ( int &  i,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveInts() [1/5]

int XC::Communicator::receiveInts ( int &  i1,
int &  i2,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveInts() [2/5]

int XC::Communicator::receiveInts ( int &  i1,
int &  i2,
int &  i3,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveInts() [3/5]

int XC::Communicator::receiveInts ( int &  i1,
int &  i2,
int &  i3,
int &  i4,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveInts() [4/5]

int XC::Communicator::receiveInts ( int &  i1,
int &  i2,
int &  i3,
int &  i4,
int &  i5,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveInts() [5/5]

int XC::Communicator::receiveInts ( int &  i1,
int &  i2,
int &  i3,
int &  i4,
int &  i5,
int &  i6,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveMatrices()

int XC::Communicator::receiveMatrices ( std::vector< Matrix > &  matrices,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives las matrices.

Parameters
metaindex where the object dbTag is stored.

◆ receiveMatrix()

int XC::Communicator::receiveMatrix ( Matrix &  m,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the matrix through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveMatrixPtr()

XC::Matrix * XC::Communicator::receiveMatrixPtr ( Matrix *&  ptr,
DbTagData &  dt,
const MatrixCommMetaData &  meta 
) const

Receives a pointer to the matrix through the communicator argument.

Parameters
metaindex where the object dbTag, number of rows and number of columns are stored.

◆ receiveMovable()

int XC::Communicator::receiveMovable ( MovableObject &  mv,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives a movable object trhrough the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveMovableIDPtr()

XC::MovableID * XC::Communicator::receiveMovableIDPtr ( MovableID *&  ptr,
DbTagData &  dt,
const PtrCommMetaData &  meta 
)

Receives a MovableID pointer through the communicator argument.

Parameters
ptrMovableID pointer to receive.
metaindexes where the data are stored.

◆ receiveMovableMatrixPtr()

XC::MovableMatrix * XC::Communicator::receiveMovableMatrixPtr ( MovableMatrix *&  ptr,
DbTagData &  dt,
const PtrCommMetaData &  meta 
)

Receives a MovableMatrix pointer through the communicator argument.

Parameters
ptrMovableMatrix pointer to receive.
metaindexes where the data are stored.

◆ receiveMovableVectorPtr()

XC::MovableVector * XC::Communicator::receiveMovableVectorPtr ( MovableVector *&  ptr,
DbTagData &  dt,
const PtrCommMetaData &  meta 
)

Receives a MovableVector pointer through the communicator argument.

Parameters
ptrMovableVector pointer to receive.
metaindexes where the data are stored.

◆ receiveResponseIdPtr()

XC::ResponseId * XC::Communicator::receiveResponseIdPtr ( ResponseId *&  ri,
DbTagData &  dt,
const ArrayCommMetaData &  m 
) const

Receives a ResponseId object.

Parameters
metaindex where the object dbTag and size are stored.

◆ receiveString()

int XC::Communicator::receiveString ( std::string &  str,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives la text string through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveStrings() [1/2]

int XC::Communicator::receiveStrings ( std::deque< std::string > &  strings,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the string container through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveStrings() [2/2]

int XC::Communicator::receiveStrings ( std::vector< std::string > &  strings,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the string container through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveSzt()

size_t XC::Communicator::receiveSzt ( size_t &  i,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveSzts() [1/5]

size_t XC::Communicator::receiveSzts ( size_t &  i1,
size_t &  i2,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveSzts() [2/5]

size_t XC::Communicator::receiveSzts ( size_t &  i1,
size_t &  i2,
size_t &  i3,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveSzts() [3/5]

size_t XC::Communicator::receiveSzts ( size_t &  i1,
size_t &  i2,
size_t &  i3,
size_t &  i4,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveSzts() [4/5]

size_t XC::Communicator::receiveSzts ( size_t &  i1,
size_t &  i2,
size_t &  i3,
size_t &  i4,
size_t &  i5,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveSzts() [5/5]

size_t XC::Communicator::receiveSzts ( size_t &  i1,
size_t &  i2,
size_t &  i3,
size_t &  i4,
size_t &  i5,
size_t &  i6,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveTensor()

int XC::Communicator::receiveTensor ( BJtensor &  t,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives el tensor through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ receiveVector() [1/2]

int XC::Communicator::receiveVector ( Vector &  v,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives el vector.

Parameters
metaindex where the object dbTag is stored.

◆ receiveVector() [2/2]

int XC::Communicator::receiveVector ( std::vector< double > &  v,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives el vector.

Parameters
metaindex where the object dbTag is stored.

◆ receiveVectorPtr()

XC::Vector * XC::Communicator::receiveVectorPtr ( Vector *&  ptr,
DbTagData &  dt,
const ArrayCommMetaData &  meta 
) const

Receives a Vector pointed by ptr through the communicator argument.

Parameters
ptrpointer to the vector to receive.
metaindex where the object dbTag and size are stored.

◆ receiveVectors()

int XC::Communicator::receiveVectors ( std::vector< Vector > &  vectors,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the vector container through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendBool()

int XC::Communicator::sendBool ( const bool &  b,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends bool through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendBools() [1/5]

int XC::Communicator::sendBools ( const bool &  b1,
const bool &  b2,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the bools through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendBools() [2/5]

int XC::Communicator::sendBools ( const bool &  b1,
const bool &  b2,
const bool &  b3,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the bools through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendBools() [3/5]

int XC::Communicator::sendBools ( const bool &  b1,
const bool &  b2,
const bool &  b3,
const bool &  b4,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the bools through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendBools() [4/5]

int XC::Communicator::sendBools ( const bool &  b1,
const bool &  b2,
const bool &  b3,
const bool &  b4,
const bool &  b5,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the bools through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendBools() [5/5]

int XC::Communicator::sendBools ( const bool &  b1,
const bool &  b2,
const bool &  b3,
const bool &  b4,
const bool &  b5,
const bool &  b6,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the bools through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendBrokedPtr()

int XC::Communicator::sendBrokedPtr ( MovableObject *  ptr,
DbTagData &  dt,
const BrokedPtrCommMetaData &  meta 
)

Sends a pointer to movable object through the communicator argument.

Parameters
metaindexes where the flag and the dbTag are stored.

◆ sendDouble()

int XC::Communicator::sendDouble ( const double &  db1,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends a double through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendDoublePtr()

int XC::Communicator::sendDoublePtr ( double *  ptr,
DbTagData &  dt,
const ArrayCommMetaData &  meta 
)

Send the array data through the communicator argument.

Parameters
metaindex where the object dbTag and size are stored.

◆ sendDoubles() [1/5]

int XC::Communicator::sendDoubles ( const double &  db1,
const double &  db2,
DbTagData &  dt,
const CommMetaData &  meta 
)

Send the doubles through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendDoubles() [2/5]

int XC::Communicator::sendDoubles ( const double &  db1,
const double &  db2,
const double &  db3,
DbTagData &  dt,
const CommMetaData &  meta 
)

Send the doubles through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendDoubles() [3/5]

int XC::Communicator::sendDoubles ( const double &  db1,
const double &  db2,
const double &  db3,
const double &  db4,
DbTagData &  dt,
const CommMetaData &  meta 
)

Send the doubles through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendDoubles() [4/5]

int XC::Communicator::sendDoubles ( const double &  db1,
const double &  db2,
const double &  db3,
const double &  db4,
const double &  db5,
DbTagData &  dt,
const CommMetaData &  meta 
)

Send the doubles through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendDoubles() [5/5]

int XC::Communicator::sendDoubles ( const double &  db1,
const double &  db2,
const double &  db3,
const double &  db4,
const double &  db5,
const double &  db6,
DbTagData &  dt,
const CommMetaData &  meta 
)

Send the doubles through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendID()

int XC::Communicator::sendID ( const ID &  v,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends an ID object through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendIDPtr()

int XC::Communicator::sendIDPtr ( ID *  ptr,
DbTagData &  dt,
const ArrayCommMetaData &  meta 
)

Sends an ID pointer through the communicator being passed as parameter.

Parameters
ptrID pointer to transmit.
metaindex where the object dbTag and size are stored.

◆ sendIDs()

int XC::Communicator::sendIDs ( std::vector< ID > &  ids,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the ID container through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendInt()

int XC::Communicator::sendInt ( const int &  i,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the integer through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendInts() [1/5]

int XC::Communicator::sendInts ( const int &  i1,
const int &  i2,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendInts() [2/5]

int XC::Communicator::sendInts ( const int &  i1,
const int &  i2,
const int &  i3,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendInts() [3/5]

int XC::Communicator::sendInts ( const int &  i1,
const int &  i2,
const int &  i3,
const int &  i4,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendInts() [4/5]

int XC::Communicator::sendInts ( const int &  i1,
const int &  i2,
const int &  i3,
const int &  i4,
const int &  i5,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendInts() [5/5]

int XC::Communicator::sendInts ( const int &  i1,
const int &  i2,
const int &  i3,
const int &  i4,
const int &  i5,
const int &  i6,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendMatrices()

int XC::Communicator::sendMatrices ( const std::vector< Matrix > &  matrices,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the matrices.

Parameters
metaindex where the object dbTag is stored.

◆ sendMatrix()

int XC::Communicator::sendMatrix ( const Matrix &  m,
DbTagData &  dt,
const CommMetaData &  meta 
)

Send the matrix through the communicator argument

Parameters
metaindex where the object dbTag is stored.

◆ sendMatrixPtr()

int XC::Communicator::sendMatrixPtr ( Matrix *  ptr,
DbTagData &  dt,
const MatrixCommMetaData &  meta 
)

Send a pointer to the matrix through the communicator argument.

Parameters
metaindex where the object dbTag, number of rows and number of columns are stored.

◆ sendMovable()

int XC::Communicator::sendMovable ( MovableObject &  mv,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends a movable object through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendMovableIDPtr()

int XC::Communicator::sendMovableIDPtr ( MovableID *  ptr,
DbTagData &  dt,
const PtrCommMetaData &  meta 
)

Sends a MovableID pointer through the communicator argument.

Parameters
ptrMovableID pointer to send.
metaindexes where the data are stored.

◆ sendMovableMatrixPtr()

int XC::Communicator::sendMovableMatrixPtr ( MovableMatrix *  ptr,
DbTagData &  dt,
const PtrCommMetaData &  meta 
)

Sends a MovableMatrix pointer through the communicator argument.

Parameters
ptrMovableMatrix pointer to send.
metaindexes where the data are stored.

◆ sendMovablePtr()

int XC::Communicator::sendMovablePtr ( MovableObject *  ptr,
DbTagData &  dt,
const PtrCommMetaData &  meta 
)

Sends a pointer to movable object through the communicator argument.

Parameters
metaindexes where the flag and the dbTag are stored.

◆ sendMovableVectorPtr()

int XC::Communicator::sendMovableVectorPtr ( MovableVector *  ptr,
DbTagData &  dt,
const PtrCommMetaData &  meta 
)

Sends a MovableVector pointer through the communicator argument.

Parameters
ptrMovableVector pointer to send.
metaindexes where the data are stored.

◆ sendString()

int XC::Communicator::sendString ( const std::string &  str,
DbTagData &  dt,
const CommMetaData &  meta 
)

Send the text string through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendStrings() [1/2]

int XC::Communicator::sendStrings ( std::deque< std::string > &  strings,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the string container through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendStrings() [2/2]

int XC::Communicator::sendStrings ( std::vector< std::string > &  strings,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the string container through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendSzt()

size_t XC::Communicator::sendSzt ( const size_t &  i,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends entero through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendSzts() [1/5]

size_t XC::Communicator::sendSzts ( const size_t &  i1,
const size_t &  i2,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendSzts() [2/5]

size_t XC::Communicator::sendSzts ( const size_t &  i1,
const size_t &  i2,
const size_t &  i3,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendSzts() [3/5]

size_t XC::Communicator::sendSzts ( const size_t &  i1,
const size_t &  i2,
const size_t &  i3,
const size_t &  i4,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendSzts() [4/5]

size_t XC::Communicator::sendSzts ( const size_t &  i1,
const size_t &  i2,
const size_t &  i3,
const size_t &  i4,
const size_t &  i5,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendSzts() [5/5]

size_t XC::Communicator::sendSzts ( const size_t &  i1,
const size_t &  i2,
const size_t &  i3,
const size_t &  i4,
const size_t &  i5,
const size_t &  i6,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the integers through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendTensor()

int XC::Communicator::sendTensor ( const BJtensor &  t,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends tensor through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

◆ sendVector() [1/2]

int XC::Communicator::sendVector ( const Vector &  v,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends vector.

Parameters
metaindex where the object dbTag is stored.

◆ sendVector() [2/2]

int XC::Communicator::sendVector ( const std::vector< double > &  v,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends vector.

Parameters
metaindex where the object dbTag is stored.

◆ sendVectorPtr()

int XC::Communicator::sendVectorPtr ( Vector *  ptr,
DbTagData &  dt,
const ArrayCommMetaData &  meta 
)

Sends the Vector pointed by ptr through the communicator argument.

Parameters
ptrpointer to the vector to send.
metaindex where the object dbTag and size are stored.

◆ sendVectors()

int XC::Communicator::sendVectors ( std::vector< Vector > &  vectors,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the vector container through the communicator argument.

Parameters
metaindex where the object dbTag is stored.

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