GLAC  1.0
Public Member Functions | Data Fields
NeighbourList Struct Reference

#include <neighbourlist.h>

Public Member Functions

 NeighbourList ()
 
 ~NeighbourList ()
 
void print ()
 NeighbourList::print prints the geometry of a single processor. More...
 
int & operator [] (int i)
 operator [] overloaded list accessing tool. More...
 

Data Fields

int list [8]
 Neighbour list. More...
 
int rank
 Rank of processor holding NeighbourList. More...
 

Constructor & Destructor Documentation

◆ NeighbourList()

NeighbourList::NeighbourList ( )

◆ ~NeighbourList()

NeighbourList::~NeighbourList ( )

Member Function Documentation

◆ operator []()

int& NeighbourList::operator [] ( int  i)
inline

operator [] overloaded list accessing tool.

Parameters
idirection to look up.
Returns
the process rank in given i direction.

◆ print()

void NeighbourList::print ( )

NeighbourList::print prints the geometry of a single processor.

Usefull for debugging.

Field Documentation

◆ list

int NeighbourList::list[8]

Neighbour list.

◆ rank

int NeighbourList::rank

Rank of processor holding NeighbourList.


The documentation for this struct was generated from the following files: