#include <neighbours.h>
◆ Neighbours()
Neighbours::Neighbours |
( |
| ) |
|
◆ ~Neighbours()
Neighbours::~Neighbours |
( |
| ) |
|
◆ get()
static int Parallel::Neighbours::get |
( |
int |
iProcDir | ) |
|
|
inlinestatic |
get returns the neighbourlist for the the calling processor/rank and the direction given py iProcDir.
- Parameters
-
iProcDir | the direction in which to look up its neighbour. |
- Returns
- the rank of its neighbour.
◆ getListLength()
static int Parallel::Neighbours::getListLength |
( |
| ) |
|
|
inlinestatic |
◆ getNeighbours()
◆ getProcessorDimensionPosition()
static long Parallel::Neighbours::getProcessorDimensionPosition |
( |
int |
dim | ) |
|
|
inlinestatic |
◆ initialize()
void Neighbours::initialize |
( |
int |
processRank, |
|
|
int |
numproc, |
|
|
int * |
processorsPerDim |
|
) |
| |
|
static |
Parallel::Neighbours::initialize initializes.
- Parameters
-
processRank | the rank of the processor calling. |
numproc | total number of active processors. |
processorsPerDim | a int array of length four containing the total number of processors per dimension. |
The documentation for this class was generated from the following files: