Definition at line 190 of file NNc_array.hpp.
Public Member Functions | |
void | set_size (const size_t(&sz)[dim]) |
set the size of the cell grid | |
long int | operator[] (size_t i) const |
return the element i | |
void | init_full () |
void | init_sym () |
const long int * | getPointer () const |
return the pointer to the array | |
NNc_array< dim, size, false > & | operator= (const NNc_array< dim, size, false > &nnc) |
Copy the NNc_array. | |
void | swap (NNc_array< dim, size, false > &nnc) |
swap the NNc_array | |
Private Attributes | |
grid_sm< dim, void > | gs |
grid_sm< dim, void > | gs_base |
Information about the grid in the reduced space. | |
size_t | sub_off |
size_t | sym_mid |
bool | full_or_sym |
|
inline |
|
inline |
Definition at line 241 of file NNc_array.hpp.
|
inline |
Definition at line 246 of file NNc_array.hpp.
|
inline |
|
inline |
set the size of the cell grid
sz[dim] | size of the cell grid in each dimension |
Definition at line 212 of file NNc_array.hpp.
|
private |
Definition at line 203 of file NNc_array.hpp.
|
private |
NNc_array is a grid in general 3^{dim}, this object contain the information about this grid
Definition at line 194 of file NNc_array.hpp.
|
private |
Information about the grid in the reduced space.
Definition at line 197 of file NNc_array.hpp.
|
private |
Definition at line 200 of file NNc_array.hpp.
|
private |
Definition at line 201 of file NNc_array.hpp.