|
| | grid_dist_iterator (const openfpm::vector< device_grid > &gk, const openfpm::vector< GBoxes< device_grid::dims >> &gdb_ext, const grid_key_dx< dim > &stop) |
| | Constructor of the distributed grid iterator. More...
|
| |
| | grid_dist_iterator (openfpm::vector< device_grid > &gk, const openfpm::vector< GBoxes< device_grid::dims >> &gdb_ext, const grid_key_dx< dim > &stop, const grid_key_dx< dim >(&stencil_pnt)[stencil::nsp]) |
| | Constructor of the distributed grid iterator with stencil support. More...
|
| |
|
| grid_dist_iterator (const grid_dist_iterator< dim, device_grid, device_sub_it, impl, stencil > &g) |
| | Copy constructor.
|
| |
|
| grid_dist_iterator (grid_dist_iterator< dim, device_grid, device_sub_it, impl, stencil > &&g) |
| | Copy constructor.
|
| |
|
| ~grid_dist_iterator () |
| | Destructor.
|
| |
| grid_dist_iterator< dim, device_grid, device_sub_it, impl, stencil > & | operator++ () |
| | Get the next element. More...
|
| |
| bool | isNext () const |
| | Check if there is the next element. More...
|
| |
| grid_dist_key_dx< dim, typename device_grid::base_key > | get () const |
| | Get the actual key. More...
|
| |
| grid_key_dx< dim > | getStop () const |
| | it return the stop point of the iterator More...
|
| |
| grid_key_dx< dim > | getStart () const |
| | it return the start point of the iterator More...
|
| |
| const openfpm::vector< GBoxes< device_grid::dims > > & | getGBoxes () |
| | Get the boxes. More...
|
| |
| grid_key_dx< dim > | getGKey (const grid_dist_key_dx< dim, typename device_grid::base_key > &k) |
| | Convert a g_dist_key_dx into a global key. More...
|
| |
| template<unsigned int id> |
| grid_dist_lin_dx | getStencil () |
| | Return the stencil point offset. More...
|
| |
template<unsigned int dim, typename device_grid, typename device_sub_it, int impl, typename stencil = no_stencil>
class grid_dist_iterator< dim, device_grid, device_sub_it, impl, stencil >
Distributed grid iterator.
Iterator across the local elements of the distributed grid
- Template Parameters
-
| dim | dimensionality of the grid |
| device_grid | type of basic grid |
| stencil | it inject the code to calculate stencil offset |
| sub_iterator | it indicate the sub-iterator type of the device_grid |
Definition at line 277 of file grid_dist_id_iterator.hpp.
template<unsigned int dim, typename device_grid , typename device_sub_it , int impl, typename stencil = no_stencil>
it return the start point of the iterator
The start point of the iterator is the point with all coordinates zeros
- Returns
- the start point
Definition at line 444 of file grid_dist_id_iterator.hpp.
template<unsigned int dim, typename device_grid , typename device_sub_it , int impl, typename stencil = no_stencil>
it return the stop point of the iterator
The stop point of the iterator is just the grid size
- Returns
- the stop point
Definition at line 432 of file grid_dist_id_iterator.hpp.