Public Member Functions | |
bool | contains (int rank) const |
virtual bool | containsMyRank () const =0 |
virtual ProcessorGroup * | createComplementProcGroup () const =0 |
virtual ProcessorGroup * | createProcGroup () const =0 |
virtual ProcessorGroup * | deepCopy () const =0 |
virtual ProcessorGroup * | fuse (const ProcessorGroup &) const =0 |
const CommInterface & | getCommInterface () const |
virtual const std::set< int > & | getProcIDs () const |
virtual void | intersect (ProcessorGroup &)=0 |
virtual int | myRank () const =0 |
ProcessorGroup (const CommInterface &interface) | |
ProcessorGroup (const CommInterface &interface, std::set< int > proc_ids) | |
ProcessorGroup (const ProcessorGroup &proc_group, std::set< int > proc_ids) | |
ProcessorGroup (const ProcessorGroup &other) | |
ProcessorGroup (const CommInterface &interface, int start, int end) | |
int | size () const |
virtual int | translateRank (const ProcessorGroup *, int) const =0 |
virtual | ~ProcessorGroup () |
Protected Attributes | |
const CommInterface | _comm_interface |
std::set< int > | _proc_ids |
Abstract class defining a group of processors (computation nodes) in a parallel run of a code.
See the non-abstract child MPIProcessorGroup
MEDCoupling::ProcessorGroup::ProcessorGroup | ( | const CommInterface & | interface | ) |
MEDCoupling::ProcessorGroup::ProcessorGroup | ( | const CommInterface & | interface, |
std::set< int > | proc_ids | ||
) |
MEDCoupling::ProcessorGroup::ProcessorGroup | ( | const ProcessorGroup & | proc_group, |
std::set< int > | proc_ids | ||
) |
MEDCoupling::ProcessorGroup::ProcessorGroup | ( | const ProcessorGroup & | other | ) |
MEDCoupling::ProcessorGroup::ProcessorGroup | ( | const CommInterface & | interface, |
int | start, | ||
int | end | ||
) |
References _proc_ids.
|
virtual |
|
pure virtual |
Implemented in MEDCoupling::MPIProcessorGroup.
Referenced by MEDCoupling::DisjointDEC::copyInstance().
|
pure virtual |
Implemented in MEDCoupling::MPIProcessorGroup.
Referenced by MEDCoupling::DisjointDEC::copyInstance(), and MEDCoupling::DisjointDEC::DisjointDEC().
|
pure virtual |
Implemented in MEDCoupling::MPIProcessorGroup.
bool MEDCoupling::ProcessorGroup::contains | ( | int | rank | ) | const |
References _proc_ids.
Referenced by MEDCoupling::ExplicitCoincidentDEC::broadcastTopology().
|
pure virtual |
Implemented in MEDCoupling::MPIProcessorGroup.
Referenced by MEDCoupling::DisjointDEC::attachLocalField(), MEDCoupling::ExplicitCoincidentDEC::broadcastTopology(), MEDCoupling::DisjointDEC::compareFieldAndMethod(), MEDCoupling::OverlapDEC::isInGroup(), MEDCoupling::DisjointDEC::isInSourceSide(), MEDCoupling::DisjointDEC::isInTargetSide(), MEDCoupling::DisjointDEC::isInUnion(), MEDCoupling::InterpolationMatrix::multiply(), MEDCoupling::StructuredCoincidentDEC::prepareSourceDE(), MEDCoupling::ExplicitCoincidentDEC::prepareSourceDE(), MEDCoupling::StructuredCoincidentDEC::prepareTargetDE(), MEDCoupling::ExplicitCoincidentDEC::prepareTargetDE(), MEDCoupling::InterpKernelDEC::recvData(), MEDCoupling::DisjointDEC::renormalizeTargetField(), MEDCoupling::InterpKernelDEC::sendData(), MEDCoupling::ExplicitCoincidentDEC::synchronize(), MEDCoupling::StructuredCoincidentDEC::synchronize(), MEDCoupling::InterpKernelDEC::synchronize(), MEDCoupling::ExplicitCoincidentDEC::transferMappingToSource(), MEDCoupling::InterpolationMatrix::transposeMultiply(), and MEDCoupling::StructuredCoincidentDEC::~StructuredCoincidentDEC().
int MEDCoupling::ProcessorGroup::size | ( | ) | const |
References _proc_ids.
Referenced by MEDCoupling::BlockTopology::BlockTopology(), MEDCoupling::ExplicitCoincidentDEC::broadcastTopology(), MEDCoupling::ComponentTopology::ComponentTopology(), MEDCoupling::BlockTopology::globalToLocal(), MEDCoupling::BlockTopology::localToGlobal(), MEDCoupling::MPIAccess::MPIAccess(), MEDCoupling::MPIProcessorGroup::MPIProcessorGroup(), MEDCoupling::ParaFIELD::ParaFIELD(), MEDCoupling::StructuredCoincidentDEC::prepareSourceDE(), MEDCoupling::ExplicitCoincidentDEC::prepareSourceDE(), MEDCoupling::StructuredCoincidentDEC::prepareTargetDE(), MEDCoupling::ExplicitCoincidentDEC::prepareTargetDE(), MEDCoupling::StructuredCoincidentDEC::recvData(), MEDCoupling::ExplicitCoincidentDEC::recvData(), MEDCoupling::BlockTopology::serialize(), MEDCoupling::InterpKernelDEC::synchronize(), and MEDCoupling::ExplicitCoincidentDEC::transferMappingToSource().
const CommInterface& MEDCoupling::ProcessorGroup::getCommInterface | ( | ) | const |
References _comm_interface.
Referenced by MEDCoupling::DisjointDEC::attachLocalField(), MEDCoupling::BlockTopology::BlockTopology(), MEDCoupling::ParaFIELD::getVolumeIntegral(), MEDCoupling::StructuredCoincidentDEC::prepareSourceDE(), MEDCoupling::ExplicitCoincidentDEC::prepareSourceDE(), MEDCoupling::StructuredCoincidentDEC::prepareTargetDE(), MEDCoupling::ExplicitCoincidentDEC::prepareTargetDE(), MEDCoupling::BlockTopology::serialize(), and MEDCoupling::ExplicitCoincidentDEC::transferMappingToSource().
|
pure virtual |
Implemented in MEDCoupling::MPIProcessorGroup.
Referenced by MEDCoupling::ComponentTopology::firstLocalComponent(), MEDCoupling::BlockTopology::getLocalArrayMinMax(), MEDCoupling::BlockTopology::getNbLocalElements(), MEDCoupling::ComponentTopology::nbLocalComponents(), MEDCoupling::StructuredCoincidentDEC::prepareSourceDE(), MEDCoupling::StructuredCoincidentDEC::prepareTargetDE(), MEDCoupling::StructuredCoincidentDEC::recvData(), and MEDCoupling::ExplicitCoincidentDEC::transferMappingToSource().
|
pure virtual |
Implemented in MEDCoupling::MPIProcessorGroup.
Referenced by MEDCoupling::InterpKernelDEC::synchronize().
|
pure virtual |
Implemented in MEDCoupling::MPIProcessorGroup.
Referenced by MEDCoupling::ExplicitCoincidentDEC::synchronize().
|
pure virtual |
Implemented in MEDCoupling::MPIProcessorGroup.
Referenced by MEDCoupling::ExplicitCoincidentDEC::synchronize().
|
virtual |
References _proc_ids.
Referenced by MEDCoupling::DisjointDEC::checkPartitionGroup(), MEDCoupling::DisjointDEC::copyInstance(), and MEDCoupling::MPIProcessorGroup::fuse().
|
protected |
|
protected |