Definition at line 32 of file NNc_array.hpp.
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. More... | |
void | init_sym () |
Initialize the NNc array with symmetric 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 | |
|
inline |
|
inline |
Initialize the NNc array with full neighborhood cells indexes.
Definition at line 76 of file NNc_array.hpp.
|
inline |
Initialize the NNc array with symmetric neighborhood cells indexes.
Definition at line 104 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.