|
Zoltan2
Version of the Day
|
MachineRepresentation Class Finds the coordinate of the processor. Used to find the processor coordinates or graph. More...
#include <Zoltan2_MachineRepresentation.hpp>
Public Member Functions | |
| MachineRepresentation (RCP< const Comm< int > > comm_) | |
| Constructor MachineRepresentation Class. More... | |
| MachineRepresentation (RCP< Comm< int > > comm_) | |
| Constructor MachineRepresentation Class. More... | |
| void | getMyCoordinate () |
| getMyCoordinate function stores the coordinate of the current processor in procCoords[*][rank] More... | |
| void | gatherMachineCoordinates () |
| gatherMachineCoordinates function reduces and stores all machine coordinates. More... | |
| ~MachineRepresentation () | |
| destructor of the class free memory in procCoords. More... | |
| int | getProcDim () const |
| getProcDim function returns the dimension of the physical processor layout. More... | |
| pcoord_t ** | getProcCoords () const |
| getProcDim function returns the coordinates of processors in two dimensional array. More... | |
| int | getNumProcs () const |
| getNumProcs function returns the number of processors. More... | |
Public Attributes | |
| int | networkDim |
| int | numProcs |
| pcoord_t ** | procCoords |
| RCP< const Comm< int > > | comm |
MachineRepresentation Class Finds the coordinate of the processor. Used to find the processor coordinates or graph.
Definition at line 13 of file Zoltan2_MachineRepresentation.hpp.
|
inline |
Constructor MachineRepresentation Class.
| comm_ | Communication object. |
Definition at line 25 of file Zoltan2_MachineRepresentation.hpp.
|
inline |
Constructor MachineRepresentation Class.
| comm_ | Communication object. |
Definition at line 66 of file Zoltan2_MachineRepresentation.hpp.
|
inline |
destructor of the class free memory in procCoords.
Definition at line 150 of file Zoltan2_MachineRepresentation.hpp.
|
inline |
getMyCoordinate function stores the coordinate of the current processor in procCoords[*][rank]
Definition at line 107 of file Zoltan2_MachineRepresentation.hpp.
|
inline |
gatherMachineCoordinates function reduces and stores all machine coordinates.
Definition at line 130 of file Zoltan2_MachineRepresentation.hpp.
|
inline |
getProcDim function returns the dimension of the physical processor layout.
Definition at line 162 of file Zoltan2_MachineRepresentation.hpp.
|
inline |
getProcDim function returns the coordinates of processors in two dimensional array.
Definition at line 169 of file Zoltan2_MachineRepresentation.hpp.
|
inline |
getNumProcs function returns the number of processors.
Definition at line 176 of file Zoltan2_MachineRepresentation.hpp.
| int Zoltan2::MachineRepresentation< pcoord_t >::networkDim |
Definition at line 16 of file Zoltan2_MachineRepresentation.hpp.
| int Zoltan2::MachineRepresentation< pcoord_t >::numProcs |
Definition at line 17 of file Zoltan2_MachineRepresentation.hpp.
| pcoord_t** Zoltan2::MachineRepresentation< pcoord_t >::procCoords |
Definition at line 19 of file Zoltan2_MachineRepresentation.hpp.
| RCP<const Comm<int> > Zoltan2::MachineRepresentation< pcoord_t >::comm |
Definition at line 20 of file Zoltan2_MachineRepresentation.hpp.
1.8.11