

Public Member Functions | |
| DisjointDEC () | |
| DisjointDEC (ProcessorGroup &source_group, ProcessorGroup &target_group) | |
| DisjointDEC (const std::set< int > &src_ids, const std::set< int > &trg_ids, const MPI_Comm &world_comm=MPI_COMM_WORLD) | |
| void | setNature (NatureOfField nature) |
| void | attachLocalField (MEDCouplingFieldDouble *field) |
| void | attachLocalField (const ParaFIELD *field, bool ownPt=false) |
| void | attachLocalField (const ICoCo::Field *field) |
| virtual void | prepareSourceDE ()=0 |
| virtual void | prepareTargetDE ()=0 |
| virtual void | recvData ()=0 |
| virtual void | sendData ()=0 |
| void | sendRecvData (bool way=true) |
| virtual void | synchronize ()=0 |
| virtual | ~DisjointDEC () |
| virtual void | computeProcGroup () |
| void | renormalizeTargetField (bool isWAbs) |
| ProcessorGroup * | getSourceGrp () const |
| ProcessorGroup * | getTargetGrp () const |
| bool | isInSourceSide () const |
| bool | isInTargetSide () const |
| bool | isInUnion () const |
Protected Member Functions | |
| void | compareFieldAndMethod () const throw (INTERP_KERNEL::Exception) |
Protected Attributes | |
| const ParaFIELD * | _local_field |
| ProcessorGroup * | _union_group |
| ProcessorGroup * | _source_group |
| ProcessorGroup * | _target_group |
| const CommInterface * | _comm_interface |
| bool | _owns_field |
| bool | _owns_groups |
| ParaMEDMEM::DisjointDEC::DisjointDEC | ( | ) |
| virtual void ParaMEDMEM::DisjointDEC::prepareSourceDE | ( | ) | [pure virtual] |
Implemented in ParaMEDMEM::ExplicitCoincidentDEC, ParaMEDMEM::InterpKernelDEC, and ParaMEDMEM::StructuredCoincidentDEC.
Referenced by ParaMEDMEM::ParaFIELD::synchronizeSource().
| virtual void ParaMEDMEM::DisjointDEC::prepareTargetDE | ( | ) | [pure virtual] |
Implemented in ParaMEDMEM::ExplicitCoincidentDEC, ParaMEDMEM::InterpKernelDEC, and ParaMEDMEM::StructuredCoincidentDEC.
Referenced by ParaMEDMEM::ParaFIELD::synchronizeTarget().
| virtual void ParaMEDMEM::DisjointDEC::recvData | ( | ) | [pure virtual] |
Implemented in ParaMEDMEM::ExplicitCoincidentDEC, ParaMEDMEM::InterpKernelDEC, and ParaMEDMEM::StructuredCoincidentDEC.
Referenced by sendRecvData(), and ParaMEDMEM::ParaFIELD::synchronizeTarget().
| virtual void ParaMEDMEM::DisjointDEC::sendData | ( | ) | [pure virtual] |
Implemented in ParaMEDMEM::ExplicitCoincidentDEC, ParaMEDMEM::InterpKernelDEC, and ParaMEDMEM::StructuredCoincidentDEC.
Referenced by sendRecvData(), and ParaMEDMEM::ParaFIELD::synchronizeSource().
| void ParaMEDMEM::DisjointDEC::sendRecvData | ( | bool | way = true | ) | [virtual] |
If way==true, source procs call sendData() and target procs call recvData(). if way==false, it's the other way round.
Implements ParaMEDMEM::DEC.
References isInSourceSide(), isInTargetSide(), isInUnion(), recvData(), and sendData().
| virtual void ParaMEDMEM::DisjointDEC::synchronize | ( | ) | [pure virtual] |
Implements ParaMEDMEM::DEC.
Implemented in ParaMEDMEM::ExplicitCoincidentDEC, ParaMEDMEM::InterpKernelDEC, and ParaMEDMEM::StructuredCoincidentDEC.
Referenced by ParaMEDMEM::ParaFIELD::synchronizeSource(), and ParaMEDMEM::ParaFIELD::synchronizeTarget().
| virtual void ParaMEDMEM::DisjointDEC::computeProcGroup | ( | ) | [virtual] |
| ProcessorGroup* ParaMEDMEM::DisjointDEC::getSourceGrp | ( | ) | const |
References _source_group.
| ProcessorGroup* ParaMEDMEM::DisjointDEC::getTargetGrp | ( | ) | const |
References _target_group.
| bool ParaMEDMEM::DisjointDEC::isInSourceSide | ( | ) | const |
References _source_group.
Referenced by sendRecvData().
| bool ParaMEDMEM::DisjointDEC::isInTargetSide | ( | ) | const |
References _target_group.
Referenced by sendRecvData().
| bool ParaMEDMEM::DisjointDEC::isInUnion | ( | ) | const |
References _union_group.
Referenced by attachLocalField(), and sendRecvData().
| void ParaMEDMEM::DisjointDEC::compareFieldAndMethod | ( | ) | const throw (INTERP_KERNEL::Exception) [protected] |
References _local_field, _target_group, ParaMEDMEM::ParaFIELD::getField(), ParaMEDMEM::MEDCouplingField::getTypeOfField(), ParaMEDMEM::ON_CELLS, and ParaMEDMEM::ON_NODES.
Referenced by attachLocalField().
const ParaFIELD* ParaMEDMEM::DisjointDEC::_local_field [protected] |
Referenced by attachLocalField(), compareFieldAndMethod(), ParaMEDMEM::StructuredCoincidentDEC::prepareSourceDE(), ParaMEDMEM::ExplicitCoincidentDEC::prepareSourceDE(), ParaMEDMEM::StructuredCoincidentDEC::recvData(), ParaMEDMEM::InterpKernelDEC::recvData(), ParaMEDMEM::ExplicitCoincidentDEC::recvData(), renormalizeTargetField(), ParaMEDMEM::InterpKernelDEC::sendData(), setNature(), ParaMEDMEM::ExplicitCoincidentDEC::synchronize(), and ~DisjointDEC().
ProcessorGroup* ParaMEDMEM::DisjointDEC::_union_group [protected] |
Processor group representing the union of target and source processors.
Referenced by DisjointDEC(), isInUnion(), ParaMEDMEM::StructuredCoincidentDEC::recvData(), renormalizeTargetField(), ParaMEDMEM::StructuredCoincidentDEC::sendData(), and ~DisjointDEC().
ProcessorGroup* ParaMEDMEM::DisjointDEC::_source_group [protected] |
ProcessorGroup* ParaMEDMEM::DisjointDEC::_target_group [protected] |
Referenced by attachLocalField(), compareFieldAndMethod(), DisjointDEC(), getTargetGrp(), isInTargetSide(), renormalizeTargetField(), ParaMEDMEM::StructuredCoincidentDEC::synchronize(), ParaMEDMEM::ExplicitCoincidentDEC::synchronize(), ~DisjointDEC(), and ParaMEDMEM::StructuredCoincidentDEC::~StructuredCoincidentDEC().
const CommInterface* ParaMEDMEM::DisjointDEC::_comm_interface [protected] |
Reimplemented from ParaMEDMEM::DEC.
Referenced by attachLocalField(), ParaMEDMEM::ExplicitCoincidentDEC::broadcastTopology(), ParaMEDMEM::StructuredCoincidentDEC::recvData(), ParaMEDMEM::ExplicitCoincidentDEC::recvData(), renormalizeTargetField(), ParaMEDMEM::StructuredCoincidentDEC::sendData(), ParaMEDMEM::ExplicitCoincidentDEC::sendData(), and ParaMEDMEM::ExplicitCoincidentDEC::transferMappingToSource().
bool ParaMEDMEM::DisjointDEC::_owns_field [protected] |
Referenced by attachLocalField(), and ~DisjointDEC().
bool ParaMEDMEM::DisjointDEC::_owns_groups [protected] |
Referenced by ~DisjointDEC().