#include <ComponentTopology.hxx>
Public Member Functions | |
| ComponentTopology (int nb_comp, ProcessorGroup *group) | |
| ComponentTopology (int nb_comp, int nb_blocks) | |
| ComponentTopology (int nb_comp) | |
| Constructor for one block of nb_comp components. | |
| ComponentTopology () | |
| Constructor for one component. | |
| virtual | ~ComponentTopology () |
| int | nbComponents () const |
| returns the number of MED components in the topology | |
| int | nbLocalComponents () const |
| returns the number of MED components on local processor | |
| int | firstLocalComponent () const |
| returns the number of the first MED component on local processor | |
| int | nbBlocks () const |
| returns the number of blocks in the topology | |
| const std::vector< int > * | getBlockIndices () const |
| returns the block structure | |
| const ProcessorGroup * | getProcGroup () const |
Private Attributes | |
| std::vector< int > | _component_array |
| ProcessorGroup * | _proc_group |
| ParaMEDMEM.ComponentTopology::ComponentTopology | ( | int | nb_comp, |
| ProcessorGroup * | group | ||
| ) |
References ParaMEDMEM.ComponentTopology._component_array.
| ParaMEDMEM.ComponentTopology::ComponentTopology | ( | int | nb_comp | ) |
Constructor for one block of nb_comp components.
References ParaMEDMEM.ComponentTopology._component_array.
| ParaMEDMEM.ComponentTopology::ComponentTopology | ( | ) |
Constructor for one component.
References ParaMEDMEM.ComponentTopology._component_array.
| ParaMEDMEM.ComponentTopology::~ComponentTopology | ( | ) | [virtual] |
| int ParaMEDMEM.ComponentTopology.nbComponents | ( | ) | const |
returns the number of MED components in the topology
References ParaMEDMEM.ComponentTopology._component_array.
| int ParaMEDMEM.ComponentTopology::nbLocalComponents | ( | ) | const |
returns the number of MED components on local processor
References ParaMEDMEM.ComponentTopology._component_array, ParaMEDMEM.ComponentTopology._proc_group, ParaMEDMEM.ProcessorGroup.myRank(), and ParaMEDMEM.ComponentTopology.nbComponents().
| int ParaMEDMEM.ComponentTopology::firstLocalComponent | ( | ) | const |
returns the number of the first MED component on local processor
References ParaMEDMEM.ComponentTopology._component_array, ParaMEDMEM.ComponentTopology._proc_group, and ParaMEDMEM.ProcessorGroup.myRank().
| int ParaMEDMEM.ComponentTopology.nbBlocks | ( | ) | const |
returns the number of blocks in the topology
References ParaMEDMEM.ComponentTopology._component_array.
| const std::vector<int>* ParaMEDMEM.ComponentTopology.getBlockIndices | ( | ) | const |
returns the block structure
References ParaMEDMEM.ComponentTopology._component_array.
| const ProcessorGroup* ParaMEDMEM.ComponentTopology.getProcGroup | ( | ) | const |
References ParaMEDMEM.ComponentTopology._proc_group.
std::vector<int> ParaMEDMEM.ComponentTopology._component_array [private] |