GLAC  1.0
neighbourlist.h
Go to the documentation of this file.
1 
19 #ifndef NEIGHBOURLIST_H
20 #define NEIGHBOURLIST_H
21 
23 {
24  NeighbourList();
26 
28  int list[8];
29 
31  int rank;
32  void print();
33 
39  int &operator [](int i) { return list[i]; }
40 };
41 
42 #endif // NEIGHBOURLIST_H
~NeighbourList()
Definition: neighbourlist.cpp:19
NeighbourList()
Definition: neighbourlist.cpp:8
Definition: neighbourlist.h:22
int rank
Rank of processor holding NeighbourList.
Definition: neighbourlist.h:31
int list[8]
Neighbour list.
Definition: neighbourlist.h:28
int & operator [](int i)
operator [] overloaded list accessing tool.
Definition: neighbourlist.h:39
void print()
NeighbourList::print prints the geometry of a single processor.
Definition: neighbourlist.cpp:28