Public Member Functions | |
| ComponentTopology (int nb_comp, ProcessorGroup *group) | |
| ComponentTopology (int nb_comp, int nb_blocks) | |
| ComponentTopology (int nb_comp) | |
| ComponentTopology () | |
| int | firstLocalComponent () const |
| const std::vector< int > * | getBlockIndices () const |
| const ProcessorGroup * | getProcGroup () const |
| int | nbBlocks () const |
| int | nbComponents () const |
| int | nbLocalComponents () const |
| virtual | ~ComponentTopology () |
The ComponentTopology can be used when building a ParaFIELD. It allows the splitting of the components of the field among different processors within a single processor group.
| MEDCoupling::ComponentTopology::ComponentTopology | ( | int | nb_comp, |
| ProcessorGroup * | group | ||
| ) |
References MEDCoupling::ProcessorGroup::size().
| MEDCoupling::ComponentTopology::ComponentTopology | ( | int | nb_comp, |
| int | nb_blocks | ||
| ) |
| MEDCoupling::ComponentTopology::ComponentTopology | ( | int | nb_comp | ) |
Constructor for one block of nb_comp components.
| MEDCoupling::ComponentTopology::ComponentTopology | ( | ) |
Constructor for one component.
|
virtual |
| int MEDCoupling::ComponentTopology::nbComponents | ( | ) | const |
returns the number of MED components in the topology
Referenced by MEDCoupling::BlockTopology::BlockTopology(), MEDCoupling::ParaFIELD::nbComponents(), and nbLocalComponents().
| int MEDCoupling::ComponentTopology::nbLocalComponents | ( | ) | const |
returns the number of MED components on local processor
References MEDCoupling::ProcessorGroup::myRank(), and nbComponents().
Referenced by MEDCoupling::ParaFIELD::ParaFIELD().
| int MEDCoupling::ComponentTopology::firstLocalComponent | ( | ) | const |
returns the number of the first MED component on local processor
References MEDCoupling::ProcessorGroup::myRank().
| int MEDCoupling::ComponentTopology::nbBlocks | ( | ) | const |
returns the number of blocks in the topology
Referenced by MEDCoupling::BlockTopology::BlockTopology(), and MEDCoupling::ParaFIELD::ParaFIELD().
| const std::vector<int>* MEDCoupling::ComponentTopology::getBlockIndices | ( | ) | const |
returns the block structure
Referenced by MEDCoupling::BlockTopology::BlockTopology().
| const ProcessorGroup* MEDCoupling::ComponentTopology::getProcGroup | ( | ) | const |
Referenced by MEDCoupling::BlockTopology::BlockTopology().