Public Member Functions | |
DisjointDEC () | |
DisjointDEC (ProcessorGroup &source_group, ProcessorGroup &target_group) | |
DisjointDEC (const DisjointDEC &) | |
DisjointDEC & | operator= (const DisjointDEC &s) |
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 |
![]() | |
DEC () | |
void | copyFrom (const DEC &other) |
virtual | ~DEC () |
Protected Member Functions | |
void | compareFieldAndMethod () const throw (INTERP_KERNEL::Exception) |
void | cleanInstance () |
void | copyInstance (const DisjointDEC &other) |
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 |
![]() | |
const CommInterface * | _comm_interface |
ParaMEDMEM::DisjointDEC::DisjointDEC | ( | ) |
|
pure virtual |
Implemented in ParaMEDMEM::InterpKernelDEC, ParaMEDMEM::ExplicitCoincidentDEC, and ParaMEDMEM::StructuredCoincidentDEC.
Referenced by ParaMEDMEM::ParaFIELD::synchronizeSource().
|
pure virtual |
Implemented in ParaMEDMEM::InterpKernelDEC, ParaMEDMEM::ExplicitCoincidentDEC, and ParaMEDMEM::StructuredCoincidentDEC.
Referenced by ParaMEDMEM::ParaFIELD::synchronizeTarget().
|
pure virtual |
Implemented in ParaMEDMEM::ExplicitCoincidentDEC, ParaMEDMEM::InterpKernelDEC, and ParaMEDMEM::StructuredCoincidentDEC.
Referenced by sendRecvData(), and ParaMEDMEM::ParaFIELD::synchronizeTarget().
|
pure virtual |
Implemented in ParaMEDMEM::ExplicitCoincidentDEC, ParaMEDMEM::InterpKernelDEC, and ParaMEDMEM::StructuredCoincidentDEC.
Referenced by sendRecvData(), and ParaMEDMEM::ParaFIELD::synchronizeSource().
|
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().
|
pure virtual |
Implements ParaMEDMEM::DEC.
Implemented in ParaMEDMEM::InterpKernelDEC, ParaMEDMEM::ExplicitCoincidentDEC, and ParaMEDMEM::StructuredCoincidentDEC.
Referenced by ParaMEDMEM::ParaFIELD::synchronizeSource(), and ParaMEDMEM::ParaFIELD::synchronizeTarget().
|
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(), sendRecvData(), and ParaMEDMEM::InterpKernelDEC::synchronize().
|
protected |
References _local_field, _target_group, ParaMEDMEM::ParaFIELD::getField(), ParaMEDMEM::MEDCouplingField::getTypeOfField(), ParaMEDMEM::ON_CELLS, and ParaMEDMEM::ON_NODES.
Referenced by attachLocalField().
|
protected |
Referenced by attachLocalField(), cleanInstance(), 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 ParaMEDMEM::InterpKernelDEC::synchronize().
|
protected |
Processor group representing the union of target and source processors.
Referenced by cleanInstance(), copyInstance(), DisjointDEC(), isInUnion(), ParaMEDMEM::StructuredCoincidentDEC::recvData(), renormalizeTargetField(), ParaMEDMEM::StructuredCoincidentDEC::sendData(), and ParaMEDMEM::InterpKernelDEC::synchronize().
|
protected |
Referenced by attachLocalField(), cleanInstance(), copyInstance(), DisjointDEC(), getSourceGrp(), isInSourceSide(), ParaMEDMEM::InterpKernelDEC::recvData(), renormalizeTargetField(), ParaMEDMEM::InterpKernelDEC::sendData(), ParaMEDMEM::StructuredCoincidentDEC::synchronize(), ParaMEDMEM::ExplicitCoincidentDEC::synchronize(), ParaMEDMEM::InterpKernelDEC::synchronize(), and ParaMEDMEM::StructuredCoincidentDEC::~StructuredCoincidentDEC().
|
protected |
Referenced by attachLocalField(), cleanInstance(), compareFieldAndMethod(), copyInstance(), DisjointDEC(), getTargetGrp(), isInTargetSide(), ParaMEDMEM::InterpKernelDEC::recvData(), renormalizeTargetField(), ParaMEDMEM::InterpKernelDEC::sendData(), ParaMEDMEM::StructuredCoincidentDEC::synchronize(), ParaMEDMEM::ExplicitCoincidentDEC::synchronize(), ParaMEDMEM::InterpKernelDEC::synchronize(), and ParaMEDMEM::StructuredCoincidentDEC::~StructuredCoincidentDEC().
|
protected |
Referenced by attachLocalField(), ParaMEDMEM::ExplicitCoincidentDEC::broadcastTopology(), ParaMEDMEM::StructuredCoincidentDEC::recvData(), ParaMEDMEM::ExplicitCoincidentDEC::recvData(), renormalizeTargetField(), ParaMEDMEM::StructuredCoincidentDEC::sendData(), ParaMEDMEM::ExplicitCoincidentDEC::sendData(), and ParaMEDMEM::ExplicitCoincidentDEC::transferMappingToSource().
|
protected |
Referenced by attachLocalField(), and cleanInstance().
|
protected |
Referenced by cleanInstance(), and copyInstance().