XC Open source finite element analysis program
Public Member Functions | List of all members
XC::CommParameters Class Reference

Communication parameters between processes. More...

#include <CommParameters.h>

Public Member Functions

 CommParameters (int cTag, Channel &)
 Constructor.
 
 CommParameters (int cTag, Channel &, FEM_ObjectBroker &)
 Constructor.
 
const int & getCommitTag (void) const
 
int getDbTag (void) const
 Solicita al canal que devuelva un tag para la 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 channel being passed as parameter.
 
int receiveIdData (DbTagData &, const int &) const
 Recibe el miembro data through the channel being passed as parameter.
 
int sendID (const ID &, const int &)
 Sends vector.
 
int receiveID (ID &v, const int &) const
 Recibe el vector.
 
int sendVector (const Vector &, const int &)
 Sends vector.
 
int receiveVector (Vector &v, const int &) const
 Recibe el vector.
 
int sendMatrix (const Matrix &, const int &)
 Envía la matriz through the channel being passed as parameter.
 
int receiveMatrix (Matrix &v, const int &) const
 Recibe la matriz through the channel being passed as parameter.
 
int sendID (const ID &, DbTagData &, const CommMetaData &)
 Sends an ID object through the channel being passed as parameter. More...
 
int receiveID (ID &v, DbTagData &, const CommMetaData &) const
 Receives an ID objet through the channel being passed as parameter. 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 channel being passed as parameter. More...
 
MovableID * receiveMovableIDPtr (MovableID *&, DbTagData &, const PtrCommMetaData &)
 Receives a MovableID pointer through the channel being passed as parameter. More...
 
int sendMatrix (const Matrix &, DbTagData &, const CommMetaData &)
 Envía la matriz through the channel being passed as parameter. More...
 
int receiveMatrix (Matrix &v, DbTagData &, const CommMetaData &) const
 Recibe la matriz through the channel being passed as parameter. More...
 
int sendMatrixPtr (Matrix *ptr, DbTagData &, const MatrixCommMetaData &)
 Envía a pointer a la matriz through the channel being passed as parameter. More...
 
Matrix * receiveMatrixPtr (Matrix *&ptr, DbTagData &, const MatrixCommMetaData &) const
 Recibe a pointer a matriz through the channel being passed as parameter. More...
 
int sendTensorPtr (BJtensor *ptr, DbTagData &, const TensorCommMetaData &)
 Envía a pointer al tensor through the channel being passed as parameter.
 
BJtensor * receiveTensorPtr (BJtensor *&ptr, DbTagData &, const TensorCommMetaData &) const
 Recibe a pointer a matriz through the channel being passed as parameter.
 
int sendMovableMatrixPtr (MovableMatrix *, DbTagData &, const PtrCommMetaData &)
 Sends a MovableMatrix pointer through the channel being passed as parameter. More...
 
MovableMatrix * receiveMovableMatrixPtr (MovableMatrix *&, DbTagData &, const PtrCommMetaData &)
 Receives a MovableMatrix pointer through the channel being passed as parameter. More...
 
int sendMatrices (const std::vector< Matrix > &, DbTagData &, const CommMetaData &)
 Sends the matrices. More...
 
int receiveMatrices (std::vector< Matrix > &, DbTagData &, const CommMetaData &) const
 Recibe las matrices. More...
 
int sendString (const std::string &, DbTagData &, const CommMetaData &)
 Envía la cadena de caracteres through the channel being passed as parameter. More...
 
int receiveString (std::string &v, DbTagData &, const CommMetaData &) const
 Recibe la cadena de caracteres through the channel being passed as parameter. More...
 
int sendStrings (std::deque< std::string > &, DbTagData &, const CommMetaData &)
 Sends the string container through the channel being passed as parameter. More...
 
int receiveStrings (std::deque< std::string > &, DbTagData &, const CommMetaData &) const
 Receives the string container through the channel being passed as parameter. More...
 
int sendStrings (std::vector< std::string > &, DbTagData &, const CommMetaData &)
 Sends the string container through the channel being passed as parameter. More...
 
int receiveStrings (std::vector< std::string > &, DbTagData &, const CommMetaData &) const
 Receives the string container through the channel being passed as parameter. More...
 
int sendVector (const Vector &, DbTagData &, const CommMetaData &)
 Sends vector. More...
 
int receiveVector (Vector &v, DbTagData &, const CommMetaData &) const
 Recibe el vector. More...
 
int sendVectors (std::vector< Vector > &, DbTagData &, const CommMetaData &)
 Sends the vector container through the channel being passed as parameter. More...
 
int receiveVectors (std::vector< Vector > &v, DbTagData &, const CommMetaData &) const
 Receives the vector container through the channel being passed as parameter. More...
 
int sendVector (const std::vector< double > &, DbTagData &, const CommMetaData &)
 Sends vector. More...
 
int receiveVector (std::vector< double > &v, DbTagData &, const CommMetaData &) const
 Recibe el vector. More...
 
int sendVectorPtr (Vector *ptr, DbTagData &, const ArrayCommMetaData &)
 Sends the Vector pointed by ptr through the channel being passed as parameter. More...
 
Vector * receiveVectorPtr (Vector *&ptr, DbTagData &, const ArrayCommMetaData &) const
 Receives a Vector pointed by ptr through the channel being passed as parameter. More...
 
int sendMovableVectorPtr (MovableVector *, DbTagData &, const PtrCommMetaData &)
 Sends a MovableVector pointer through the channel being passed as parameter. More...
 
MovableVector * receiveMovableVectorPtr (MovableVector *&, DbTagData &, const PtrCommMetaData &)
 Receives a MovableVector pointer through the channel being passed as parameter. More...
 
int sendTensor (const BJtensor &, DbTagData &, const CommMetaData &)
 Sends tensor through the channel being passed as parameter. More...
 
int receiveTensor (BJtensor &v, DbTagData &, const CommMetaData &) const
 Recibe el tensor through the channel being passed as parameter. More...
 
int sendDoublePtr (double *, DbTagData &, const ArrayCommMetaData &)
 Envía los valores que contiene el array through the channel being passed as parameter. More...
 
double * receiveDoublePtr (double *&, DbTagData &, const ArrayCommMetaData &) const
 Recib los valores que contiene el array through the channel being passed as parameter. More...
 
int sendDouble (const double &, DbTagData &, const CommMetaData &)
 Sends a double through the channel being passed as parameter. More...
 
int sendDoubles (const double &, const double &, DbTagData &, const CommMetaData &)
 Envía the doubles through the channel being passed as parameter. More...
 
int sendDoubles (const double &, const double &, const double &, DbTagData &, const CommMetaData &)
 Envía the doubles through the channel being passed as parameter. More...
 
int sendDoubles (const double &, const double &, const double &, const double &, DbTagData &, const CommMetaData &)
 Envía the doubles through the channel being passed as parameter. More...
 
int sendDoubles (const double &, const double &, const double &, const double &, const double &, DbTagData &, const CommMetaData &)
 Envía the doubles through the channel being passed as parameter. More...
 
int sendDoubles (const double &, const double &, const double &, const double &, const double &, const double &, DbTagData &, const CommMetaData &)
 Envía the doubles through the channel being passed as parameter. More...
 
int receiveDouble (double &, DbTagData &, const CommMetaData &) const
 Recibe el double through the channel being passed as parameter. More...
 
int receiveDoubles (double &, double &, DbTagData &, const CommMetaData &) const
 Recibe the doubles through the channel being passed as parameter. More...
 
int receiveDoubles (double &, double &, double &, DbTagData &, const CommMetaData &) const
 Recibe the doubles through the channel being passed as parameter. More...
 
int receiveDoubles (double &, double &, double &, double &, DbTagData &, const CommMetaData &) const
 Recibe the doubles through the channel being passed as parameter. More...
 
int receiveDoubles (double &, double &, double &, double &, double &, DbTagData &, const CommMetaData &) const
 Recibe the doubles through the channel being passed as parameter. More...
 
int receiveDoubles (double &, double &, double &, double &, double &, double &, DbTagData &, const CommMetaData &) const
 Recibe the doubles through the channel being passed as parameter. More...
 
int sendBool (const bool &, DbTagData &, const CommMetaData &)
 Sends bool through the channel being passed as parameter. More...
 
int receiveBool (bool &, DbTagData &, const CommMetaData &) const
 Sends the bool through the channel being passed as parameter. More...
 
int sendInt (const int &, DbTagData &, const CommMetaData &)
 Sends the integer through the channel being passed as parameter. More...
 
int sendInts (const int &, const int &, DbTagData &, const CommMetaData &)
 Envía the integers through the channel being passed as parameter. More...
 
int sendInts (const int &, const int &, const int &, DbTagData &, const CommMetaData &)
 Envía the integers through the channel being passed as parameter. More...
 
int sendInts (const int &, const int &, const int &, const int &, DbTagData &, const CommMetaData &)
 Envía the integers through the channel being passed as parameter. More...
 
int sendInts (const int &, const int &, const int &, const int &, const int &, DbTagData &, const CommMetaData &)
 Envía the integers through the channel being passed as parameter. More...
 
int sendInts (const int &, const int &, const int &, const int &, const int &, const int &, DbTagData &, const CommMetaData &)
 Envía the integers through the channel being passed as parameter. More...
 
int receiveInt (int &, DbTagData &, const CommMetaData &) const
 Recibe the integers through the channel being passed as parameter. More...
 
int receiveInts (int &, int &, DbTagData &, const CommMetaData &) const
 Recibe the integers through the channel being passed as parameter. More...
 
int receiveInts (int &, int &, int &, DbTagData &, const CommMetaData &) const
 Recibe the integers through the channel being passed as parameter. More...
 
int receiveInts (int &, int &, int &, int &, DbTagData &, const CommMetaData &) const
 Recibe the integers through the channel being passed as parameter. More...
 
int receiveInts (int &, int &, int &, int &, int &, DbTagData &, const CommMetaData &) const
 Recibe the integers through the channel being passed as parameter. More...
 
int receiveInts (int &, int &, int &, int &, int &, int &, DbTagData &, const CommMetaData &) const
 Recibe the integers through the channel being passed as parameter. More...
 
size_t sendSzt (const size_t &, DbTagData &, const CommMetaData &)
 Sends entero through the channel being passed as parameter. More...
 
size_t sendSzts (const size_t &, const size_t &, DbTagData &, const CommMetaData &)
 Envía the integers through the channel being passed as parameter. More...
 
size_t sendSzts (const size_t &, const size_t &, const size_t &, DbTagData &, const CommMetaData &)
 Envía the integers through the channel being passed as parameter. More...
 
size_t sendSzts (const size_t &, const size_t &, const size_t &, const size_t &, DbTagData &, const CommMetaData &)
 Envía the integers through the channel being passed as parameter. More...
 
size_t sendSzts (const size_t &, const size_t &, const size_t &, const size_t &, const size_t &, DbTagData &, const CommMetaData &)
 Envía the integers through the channel being passed as parameter. 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 &)
 Envía the integers through the channel being passed as parameter. More...
 
size_t receiveSzt (size_t &, DbTagData &, const CommMetaData &) const
 Recibe the integers through the channel being passed as parameter. More...
 
size_t receiveSzts (size_t &, size_t &, DbTagData &, const CommMetaData &) const
 Recibe the integers through the channel being passed as parameter. More...
 
size_t receiveSzts (size_t &, size_t &, size_t &, DbTagData &, const CommMetaData &) const
 Recibe the integers through the channel being passed as parameter. More...
 
size_t receiveSzts (size_t &, size_t &, size_t &, size_t &, DbTagData &, const CommMetaData &) const
 Recibe the integers through the channel being passed as parameter. More...
 
size_t receiveSzts (size_t &, size_t &, size_t &, size_t &, size_t &, DbTagData &, const CommMetaData &) const
 Recibe the integers through the channel being passed as parameter. More...
 
size_t receiveSzts (size_t &, size_t &, size_t &, size_t &, size_t &, size_t &, DbTagData &, const CommMetaData &) const
 Recibe the integers through the channel being passed as parameter. 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 channel being passed as parameter. More...
 
int receiveMovable (MovableObject &, DbTagData &, const CommMetaData &) const
 Receives a movable object trhrough the channel being passed as parameter. More...
 
int sendMovablePtr (MovableObject *ptr, DbTagData &, const PtrCommMetaData &)
 Sends a pointer to movable object through the channel being passed as parameter. More...
 
template<class MOV >
MOV * receiveMovablePtr (MOV *&, DbTagData &, const PtrCommMetaData &) const
 
int sendBrokedPtr (MovableObject *ptr, DbTagData &, const BrokedPtrCommMetaData &)
 Envía a pointer to movable object through the channel being passed as parameter. 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 (EntCmd *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

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

Sends the bool through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveDouble ( double &  db1,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe el double through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
double * XC::CommParameters::receiveDoublePtr ( double *&  ptr,
DbTagData &  dt,
const ArrayCommMetaData &  meta 
) const

Recib los valores que contiene el array through the channel being passed as parameter.

Parameters
metaindex where the object dbTag and size are stored.
int XC::CommParameters::receiveDoubles ( double &  db1,
double &  db2,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the doubles through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveDoubles ( double &  db1,
double &  db2,
double &  db3,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the doubles through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveDoubles ( double &  db1,
double &  db2,
double &  db3,
double &  db4,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the doubles through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveDoubles ( double &  db1,
double &  db2,
double &  db3,
double &  db4,
double &  db5,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the doubles through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveDoubles ( double &  db1,
double &  db2,
double &  db3,
double &  db4,
double &  db5,
double &  db6,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the doubles through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveID ( ID &  v,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives an ID objet through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
XC::ID * XC::CommParameters::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.
int XC::CommParameters::receiveInt ( int &  i,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveInts ( int &  i1,
int &  i2,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveInts ( int &  i1,
int &  i2,
int &  i3,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveInts ( int &  i1,
int &  i2,
int &  i3,
int &  i4,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveInts ( int &  i1,
int &  i2,
int &  i3,
int &  i4,
int &  i5,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveInts ( int &  i1,
int &  i2,
int &  i3,
int &  i4,
int &  i5,
int &  i6,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveMatrices ( std::vector< Matrix > &  matrices,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe las matrices.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveMatrix ( Matrix &  m,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe la matriz through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
XC::Matrix * XC::CommParameters::receiveMatrixPtr ( Matrix *&  ptr,
DbTagData &  dt,
const MatrixCommMetaData &  meta 
) const

Recibe a pointer a matriz through the channel being passed as parameter.

Parameters
metaindex where the object dbTag, number of rows and number of columns are stored.
int XC::CommParameters::receiveMovable ( MovableObject &  mv,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives a movable object trhrough the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
XC::MovableID * XC::CommParameters::receiveMovableIDPtr ( MovableID *&  ptr,
DbTagData &  dt,
const PtrCommMetaData &  meta 
)

Receives a MovableID pointer through the channel being passed as parameter.

Parameters
ptrMovableID pointer to receive.
metaindexes where the data are stored.
XC::MovableMatrix * XC::CommParameters::receiveMovableMatrixPtr ( MovableMatrix *&  ptr,
DbTagData &  dt,
const PtrCommMetaData &  meta 
)

Receives a MovableMatrix pointer through the channel being passed as parameter.

Parameters
ptrMovableMatrix pointer to receive.
metaindexes where the data are stored.
XC::MovableVector * XC::CommParameters::receiveMovableVectorPtr ( MovableVector *&  ptr,
DbTagData &  dt,
const PtrCommMetaData &  meta 
)

Receives a MovableVector pointer through the channel being passed as parameter.

Parameters
ptrMovableVector pointer to receive.
metaindexes where the data are stored.
XC::ResponseId * XC::CommParameters::receiveResponseIdPtr ( ResponseId *&  ri,
DbTagData &  dt,
const ArrayCommMetaData &  m 
) const

Receives a ResponseId object.

Parameters
metaindex where the object dbTag and size are stored.
int XC::CommParameters::receiveString ( std::string &  str,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe la cadena de caracteres through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveStrings ( std::deque< std::string > &  strings,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the string container through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveStrings ( std::vector< std::string > &  strings,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the string container through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
size_t XC::CommParameters::receiveSzt ( size_t &  i,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
size_t XC::CommParameters::receiveSzts ( size_t &  i1,
size_t &  i2,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
size_t XC::CommParameters::receiveSzts ( size_t &  i1,
size_t &  i2,
size_t &  i3,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
size_t XC::CommParameters::receiveSzts ( size_t &  i1,
size_t &  i2,
size_t &  i3,
size_t &  i4,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
size_t XC::CommParameters::receiveSzts ( size_t &  i1,
size_t &  i2,
size_t &  i3,
size_t &  i4,
size_t &  i5,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
size_t XC::CommParameters::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

Recibe the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveTensor ( BJtensor &  t,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe el tensor through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveVector ( Vector &  v,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe el vector.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::receiveVector ( std::vector< double > &  v,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Recibe el vector.

Parameters
metaindex where the object dbTag is stored.
XC::Vector * XC::CommParameters::receiveVectorPtr ( Vector *&  ptr,
DbTagData &  dt,
const ArrayCommMetaData &  meta 
) const

Receives a Vector pointed by ptr through the channel being passed as parameter.

Parameters
ptrpointer to the vector to receive.
metaindex where the object dbTag and size are stored.
int XC::CommParameters::receiveVectors ( std::vector< Vector > &  vectores,
DbTagData &  dt,
const CommMetaData &  meta 
) const

Receives the vector container through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendBool ( const bool &  b,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends bool through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendBrokedPtr ( MovableObject *  ptr,
DbTagData &  dt,
const BrokedPtrCommMetaData &  meta 
)

Envía a pointer to movable object through the channel being passed as parameter.

Parameters
metaindexes where the flag and the dbTag are stored.
int XC::CommParameters::sendDouble ( const double &  db1,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends a double through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendDoublePtr ( double *  ptr,
DbTagData &  dt,
const ArrayCommMetaData &  meta 
)

Envía los valores que contiene el array through the channel being passed as parameter.

Parameters
metaindex where the object dbTag and size are stored.
int XC::CommParameters::sendDoubles ( const double &  db1,
const double &  db2,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía the doubles through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendDoubles ( const double &  db1,
const double &  db2,
const double &  db3,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía the doubles through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendDoubles ( const double &  db1,
const double &  db2,
const double &  db3,
const double &  db4,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía the doubles through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendDoubles ( const double &  db1,
const double &  db2,
const double &  db3,
const double &  db4,
const double &  db5,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía the doubles through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendDoubles ( const double &  db1,
const double &  db2,
const double &  db3,
const double &  db4,
const double &  db5,
const double &  db6,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía the doubles through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendID ( const ID &  v,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends an ID object through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::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.
int XC::CommParameters::sendInt ( const int &  i,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the integer through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendInts ( const int &  i1,
const int &  i2,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendInts ( const int &  i1,
const int &  i2,
const int &  i3,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendInts ( const int &  i1,
const int &  i2,
const int &  i3,
const int &  i4,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendInts ( const int &  i1,
const int &  i2,
const int &  i3,
const int &  i4,
const int &  i5,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendInts ( const int &  i1,
const int &  i2,
const int &  i3,
const int &  i4,
const int &  i5,
const int &  i6,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendMatrices ( const std::vector< Matrix > &  matrices,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the matrices.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendMatrix ( const Matrix &  m,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía la matriz through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendMatrixPtr ( Matrix *  ptr,
DbTagData &  dt,
const MatrixCommMetaData &  meta 
)

Envía a pointer a la matriz through the channel being passed as parameter.

Parameters
metaindex where the object dbTag, number of rows and number of columns are stored.
int XC::CommParameters::sendMovable ( MovableObject &  mv,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends a movable object through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendMovableIDPtr ( MovableID *  ptr,
DbTagData &  dt,
const PtrCommMetaData &  meta 
)

Sends a MovableID pointer through the channel being passed as parameter.

Parameters
ptrMovableID pointer to send.
metaindexes where the data are stored.
int XC::CommParameters::sendMovableMatrixPtr ( MovableMatrix *  ptr,
DbTagData &  dt,
const PtrCommMetaData &  meta 
)

Sends a MovableMatrix pointer through the channel being passed as parameter.

Parameters
ptrMovableMatrix pointer to send.
metaindexes where the data are stored.
int XC::CommParameters::sendMovablePtr ( MovableObject *  ptr,
DbTagData &  dt,
const PtrCommMetaData &  meta 
)

Sends a pointer to movable object through the channel being passed as parameter.

Parameters
metaindexes where the flag and the dbTag are stored.
int XC::CommParameters::sendMovableVectorPtr ( MovableVector *  ptr,
DbTagData &  dt,
const PtrCommMetaData &  meta 
)

Sends a MovableVector pointer through the channel being passed as parameter.

Parameters
ptrMovableVector pointer to send.
metaindexes where the data are stored.
int XC::CommParameters::sendString ( const std::string &  str,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía la cadena de caracteres through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendStrings ( std::deque< std::string > &  strings,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the string container through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendStrings ( std::vector< std::string > &  strings,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the string container through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
size_t XC::CommParameters::sendSzt ( const size_t &  i,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends entero through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
size_t XC::CommParameters::sendSzts ( const size_t &  i1,
const size_t &  i2,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
size_t XC::CommParameters::sendSzts ( const size_t &  i1,
const size_t &  i2,
const size_t &  i3,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
size_t XC::CommParameters::sendSzts ( const size_t &  i1,
const size_t &  i2,
const size_t &  i3,
const size_t &  i4,
DbTagData &  dt,
const CommMetaData &  meta 
)

Envía the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
size_t XC::CommParameters::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 
)

Envía the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
size_t XC::CommParameters::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 
)

Envía the integers through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendTensor ( const BJtensor &  t,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends tensor through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendVector ( const Vector &  v,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends vector.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendVector ( const std::vector< double > &  v,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends vector.

Parameters
metaindex where the object dbTag is stored.
int XC::CommParameters::sendVectorPtr ( Vector *  ptr,
DbTagData &  dt,
const ArrayCommMetaData &  meta 
)

Sends the Vector pointed by ptr through the channel being passed as parameter.

Parameters
ptrpointer to the vector to send.
metaindex where the object dbTag and size are stored.
int XC::CommParameters::sendVectors ( std::vector< Vector > &  vectores,
DbTagData &  dt,
const CommMetaData &  meta 
)

Sends the vector container through the channel being passed as parameter.

Parameters
metaindex where the object dbTag is stored.

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