it iterate through the elements of a cell More...
it iterate through the elements of a cell
In general you do not create this object you get it from the CellList structures
Cell | cell type |
Definition at line 341 of file CellNNIterator.hpp.
#include <CellNNIterator.hpp>
Public Member Functions | |
__attribute__ ((always_inline)) inline CellIterator(const size_t cell | |
Cell iterator. | |
Cell | ele_id (0) |
Cell | cell (cell) |
__attribute__ ((always_inline)) inline bool isNext() | |
Check if there is the next element. | |
__attribute__ ((always_inline)) inline CellIterator &operator++() | |
take the next neoghborhood particle | |
__attribute__ ((always_inline)) inline typename Cell | |
Get the value of the cell. | |
Private Attributes | |
Cell & | cl |
Cell list. | |
size_t | ele_id |
actual element id inside the cell | |
const long int | cell |
selected cell | |
|
inline |
Check if there is the next element.
Definition at line 370 of file CellNNIterator.hpp.
|
inline |
take the next neoghborhood particle
Definition at line 380 of file CellNNIterator.hpp.
CellIterator< Cell >::__attribute__ | ( | (always_inline) | ) | const |
Cell iterator.
cell | Cell id |
cl | Cell on which iterate |
|
inline |
Get the value of the cell.
Definition at line 392 of file CellNNIterator.hpp.
|
inline |
Definition at line 361 of file CellNNIterator.hpp.
|
private |
selected cell
Definition at line 350 of file CellNNIterator.hpp.
|
private |
Cell list.
Definition at line 344 of file CellNNIterator.hpp.
|
private |
actual element id inside the cell
Definition at line 347 of file CellNNIterator.hpp.