MachineClass Base class for representing machine coordinates, networks, etc.
More...
#include <Zoltan2_Machine.hpp>
|
| | Machine (const Teuchos::Comm< int > &comm) |
| | Constructor MachineRepresentation Class. More...
|
| |
| virtual | ~Machine () |
| |
| bool | hasMachineCoordinates () const |
| | indicates whether or not the machine has coordinates More...
|
| |
| int | getMachineDim () const |
| | returns the dimension (number of coords per node) in the machine More...
|
| |
| bool | getMachineExtent (int *nxyz) const |
| | sets the number of unique coordinates in each machine dimension return true if coordinates are available More...
|
| |
| bool | getMachineExtentWrapArounds (bool *wrap_around) const |
| | if the machine has a wrap-around tourus link in each dimension. return true if the information is available More...
|
| |
| bool | getMyMachineCoordinate (pcoord_t *xyz) const |
| | getMyCoordinate function set the machine coordinate xyz of the current process return true if current process' coordinates are available More...
|
| |
| bool | getMachineCoordinate (const int rank, pcoord_t *xyz) const |
| | getCoordinate function set the machine coordinate xyz of any rank process return true if coordinates are available by rank More...
|
| |
| bool | getMachineCoordinate (const char *nodename, pcoord_t *xyz) const |
| | getCoordinate function set the machine coordinate xyz of any node by nodename return true if coordinates are available by nodename More...
|
| |
| bool | getAllMachineCoordinatesView (pcoord_t **allCoords) const |
| | getProcDim function set the coordinates of all ranks allCoords[i][j], i=0,...,getMachineDim(), j=0,...,getNumRanks(), is the i-th dimensional coordinate for rank j. return true if coordinates are available for all ranks More...
|
| |
| int | getNumRanks () const |
| | return the number of ranks. More...
|
| |
| virtual bool | getHopCount (int rank1, int rank2, pcoord_t &hops) |
| |
template<typename pcoord_t, typename part_t>
class Zoltan2::Machine< pcoord_t, part_t >
MachineClass Base class for representing machine coordinates, networks, etc.
Definition at line 12 of file Zoltan2_Machine.hpp.
◆ Machine()
template<typename pcoord_t , typename part_t >
◆ ~Machine()
template<typename pcoord_t , typename part_t >
◆ hasMachineCoordinates()
template<typename pcoord_t , typename part_t >
◆ getMachineDim()
template<typename pcoord_t , typename part_t >
returns the dimension (number of coords per node) in the machine
Definition at line 37 of file Zoltan2_Machine.hpp.
◆ getMachineExtent()
template<typename pcoord_t , typename part_t >
sets the number of unique coordinates in each machine dimension return true if coordinates are available
Definition at line 44 of file Zoltan2_Machine.hpp.
◆ getMachineExtentWrapArounds()
template<typename pcoord_t , typename part_t >
if the machine has a wrap-around tourus link in each dimension. return true if the information is available
Definition at line 51 of file Zoltan2_Machine.hpp.
◆ getMyMachineCoordinate()
template<typename pcoord_t , typename part_t >
getMyCoordinate function set the machine coordinate xyz of the current process return true if current process' coordinates are available
Definition at line 59 of file Zoltan2_Machine.hpp.
◆ getMachineCoordinate() [1/2]
template<typename pcoord_t , typename part_t >
getCoordinate function set the machine coordinate xyz of any rank process return true if coordinates are available by rank
Definition at line 67 of file Zoltan2_Machine.hpp.
◆ getMachineCoordinate() [2/2]
template<typename pcoord_t , typename part_t >
| bool Zoltan2::Machine< pcoord_t, part_t >::getMachineCoordinate |
( |
const char * |
nodename, |
|
|
pcoord_t * |
xyz |
|
) |
| const |
|
inline |
getCoordinate function set the machine coordinate xyz of any node by nodename return true if coordinates are available by nodename
Definition at line 75 of file Zoltan2_Machine.hpp.
◆ getAllMachineCoordinatesView()
template<typename pcoord_t , typename part_t >
getProcDim function set the coordinates of all ranks allCoords[i][j], i=0,...,getMachineDim(), j=0,...,getNumRanks(), is the i-th dimensional coordinate for rank j. return true if coordinates are available for all ranks
Definition at line 85 of file Zoltan2_Machine.hpp.
◆ getNumRanks()
template<typename pcoord_t , typename part_t >
◆ getHopCount()
template<typename pcoord_t , typename part_t >
◆ numRanks
template<typename pcoord_t , typename part_t >
◆ myRank
template<typename pcoord_t , typename part_t >
The documentation for this class was generated from the following file: