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 () |
ParaMEDMEM::ExplicitCoincidentDEC::ExplicitCoincidentDEC | ( | ) |
ParaMEDMEM::ExplicitCoincidentDEC::~ExplicitCoincidentDEC | ( | ) | [virtual] |
void ParaMEDMEM::ExplicitCoincidentDEC::synchronize | ( | ) | [virtual] |
Synchronization process for exchanging topologies
Implements ParaMEDMEM::DEC.
References ParaMEDMEM::DEC::_local_field, ParaMEDMEM::DEC::_source_group, ParaMEDMEM::DEC::_target_group, broadcastTopology(), ParaMEDMEM::ParaFIELD::getTopology(), and transferMappingToSource().
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.
toposend | Topology that is transmitted. It is read on processes where it already exists, and it is created and filled on others. | |
toporecv | Topology which is received. | |
tag | Communication 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::transferMappingToSource | ( | ) |
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::recvData | ( | ) | [virtual] |
void ParaMEDMEM::ExplicitCoincidentDEC::sendData | ( | ) | [virtual] |
Implements ParaMEDMEM::DEC.
References ParaMEDMEM::DEC::_comm_interface, and ParaMEDMEM::CommInterface::allToAllV().