Public Member Functions | |
| void | set_size (const size_t(&sz)[dim]) |
| Set the size in each. More... | |
| const long int & | operator[] (size_t i) const |
| return the element i More... | |
| long int & | operator[] (size_t i) |
| return the element i More... | |
| void | init_full () |
| Initialize the NNc array with full neighborhood cells indexes. | |
| void | init_sym () |
| Initialize the NNc array with symmetric neighborhood cells indexes. | |
| void | init_sym_local () |
| Initialize the NNc array with symmetric local neighborhood cells indexes. More... | |
| const long int * | getPointer () const |
| return the pointer to the array More... | |
| NNc_array< dim, size, thr > & | operator= (const NNc_array< dim, size, thr > &nnc) |
| Copy the NNc_array. More... | |
| void | swap (NNc_array< dim, size, thr > &nnc) |
| swap NNc_array More... | |
Private Attributes | |
| long int | NNc_arr [size] |
| NNc_array. | |
| grid_sm< dim, void > | gs |
| size of the cell array on each dimension | |
Definition at line 32 of file NNc_array.hpp.
|
inline |
|
inline |
Initialize the NNc array with symmetric local neighborhood cells indexes.
The neighborhood is the same as with the full iteration scheme to account for interactions with ghost particles in bottom left neighboring cells. In the symmetric case those are completely skipped
Definition at line 148 of file NNc_array.hpp.
|
inline |
|
inline |
|
inline |
Set the size in each.
| sz | size og the cell grid in each dimensions |
Definition at line 47 of file NNc_array.hpp.