Functions | |
void | ParaMEDMEM::ExplicitCoincidentDEC::synchronize () |
void | ParaMEDMEM::ExplicitCoincidentDEC::prepareSourceDE () |
void | ParaMEDMEM::ExplicitCoincidentDEC::prepareTargetDE () |
void | ParaMEDMEM::ExplicitCoincidentDEC::broadcastTopology (const ExplicitTopology *toposend, ExplicitTopology *toporecv, int tag) |
void | ParaMEDMEM::ExplicitCoincidentDEC::transferMappingToSource () |
void | ParaMEDMEM::ExplicitCoincidentDEC::recvData () |
void | ParaMEDMEM::ExplicitCoincidentDEC::sendData () |
|
virtual |
Synchronization process for exchanging topologies
Implements ParaMEDMEM::DisjointDEC.
References ParaMEDMEM::DisjointDEC::_local_field, ParaMEDMEM::DisjointDEC::_source_group, ParaMEDMEM::DisjointDEC::_target_group, ParaMEDMEM::ExplicitCoincidentDEC::broadcastTopology(), ParaMEDMEM::ParaFIELD::getTopology(), and ParaMEDMEM::ExplicitCoincidentDEC::transferMappingToSource().
|
virtual |
Creates the arrays necessary for the data transfer and fills the send array with the values of the source field
Implements ParaMEDMEM::DisjointDEC.
References ParaMEDMEM::DisjointDEC::_local_field, ParaMEDMEM::MEDCouplingFieldDouble::getArray(), ParaMEDMEM::ParaFIELD::getField(), and ParaMEDMEM::DataArrayDouble::getPointer().
|
virtual |
Creates the buffers for receiving the fields on the target side
Implements ParaMEDMEM::DisjointDEC.
References ParaMEDMEM::MPIProcessorGroup::translateRank().
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::DisjointDEC::_comm_interface, ParaMEDMEM::MPIProcessorGroup::getComm(), ParaMEDMEM::MPIProcessorGroup::myRank(), ParaMEDMEM::CommInterface::recv(), and ParaMEDMEM::CommInterface::send().
void ParaMEDMEM::ExplicitCoincidentDEC::transferMappingToSource | ( | ) |
|
virtual |
Implements ParaMEDMEM::DisjointDEC.
References ParaMEDMEM::DisjointDEC::_comm_interface, ParaMEDMEM::DisjointDEC::_local_field, ParaMEDMEM::CommInterface::allToAllV(), ParaMEDMEM::CPP_DEALLOC, ParaMEDMEM::MEDCouplingFieldDouble::getArray(), ParaMEDMEM::ParaFIELD::getField(), ParaMEDMEM::MPIProcessorGroup::translateRank(), and ParaMEDMEM::DataArrayDouble::useArray().
|
virtual |
Implements ParaMEDMEM::DisjointDEC.
References ParaMEDMEM::DisjointDEC::_comm_interface, and ParaMEDMEM::CommInterface::allToAllV().