Med Memory Users' Guide 5.1.3

ParaMEDMEM::ExplicitCoincidentDEC Class Reference

Inheritance diagram for ParaMEDMEM::ExplicitCoincidentDEC:
Collaboration diagram for ParaMEDMEM::ExplicitCoincidentDEC:

List of all members.

Public Member Functions

 ExplicitCoincidentDEC ()
virtual ~ExplicitCoincidentDEC ()
void synchronize ()
void broadcastTopology (BlockTopology *&, int tag)
void broadcastTopology (const ExplicitTopology *toposend, ExplicitTopology *toporecv, int tag)
void transferMappingToSource ()
void prepareSourceDE ()
void prepareTargetDE ()
void recvData ()
void sendData ()

Constructor & Destructor Documentation

ParaMEDMEM::ExplicitCoincidentDEC::ExplicitCoincidentDEC ( )
ParaMEDMEM::ExplicitCoincidentDEC::~ExplicitCoincidentDEC ( ) [virtual]

Member Function Documentation

void ParaMEDMEM::ExplicitCoincidentDEC::synchronize ( ) [virtual]
void ParaMEDMEM::ExplicitCoincidentDEC::broadcastTopology ( BlockTopology *&  ,
int  tag 
)

Referenced by synchronize().

void ParaMEDMEM::ExplicitCoincidentDEC::broadcastTopology ( const ExplicitTopology *  toposend,
ExplicitTopology *  toporecv,
int  tag 
)

Synchronizing a topology so that all the group possesses it.

Parameters:
toposendTopology that is transmitted. It is read on processes where it already exists, and it is created and filled on others.
toporecvTopology which is received.
tagCommunication tag associated with this operation.

References ParaMEDMEM::DEC::_comm_interface, ParaMEDMEM::MPIProcessorGroup::getComm(), ParaMEDMEM::MPIProcessorGroup::myRank(), ParaMEDMEM::CommInterface::recv(), and ParaMEDMEM::CommInterface::send().

void ParaMEDMEM::ExplicitCoincidentDEC::prepareSourceDE ( ) [virtual]

Creates the arrays necessary for the data transfer and fills the send array with the values of the source field

Implements ParaMEDMEM::DEC.

References ParaMEDMEM::DEC::_local_field, and ParaMEDMEM::ParaFIELD::getField().

void ParaMEDMEM::ExplicitCoincidentDEC::prepareTargetDE ( ) [virtual]

Creates the buffers for receiving the fields on the target side

Implements ParaMEDMEM::DEC.

References ParaMEDMEM::MPIProcessorGroup::translateRank().

void ParaMEDMEM::ExplicitCoincidentDEC::sendData ( ) [virtual]