OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
grid_key_dx_iterator_sub< 0, warn > Class Template Reference

Detailed Description

template<typename warn>
class grid_key_dx_iterator_sub< 0, warn >

Grid key class iterator, iterate through a sub-grid defined by an hyper-cube

Parameters
dimdimensionality of the grid
Note
if you have a grid you can get this object from getIteratorSub()

Sub grid iterator declaration and usage

Definition at line 680 of file grid_key_dx_iterator_sub.hpp.

#include <grid_key_dx_iterator_sub.hpp>

Public Member Functions

grid_key_dx_iterator< 0 > & operator++ ()
 Next point.
 
bool isNext ()
 Is there a next point.
 
size_t getVolume ()
 return the volume
 
void reset ()
 Reset the iterator.
 

Constructor & Destructor Documentation

◆ grid_key_dx_iterator_sub()

template<typename warn >
grid_key_dx_iterator_sub< 0, warn >::grid_key_dx_iterator_sub ( )
inline

Definition at line 685 of file grid_key_dx_iterator_sub.hpp.

Member Function Documentation

◆ getVolume()

template<typename warn >
size_t grid_key_dx_iterator_sub< 0, warn >::getVolume ( )
inline

return the volume

stub version

Returns
always 0

Definition at line 715 of file grid_key_dx_iterator_sub.hpp.

◆ isNext()

template<typename warn >
bool grid_key_dx_iterator_sub< 0, warn >::isNext ( )
inline

Is there a next point.

stub version

Returns
always false

Definition at line 705 of file grid_key_dx_iterator_sub.hpp.

◆ operator++()

template<typename warn >
grid_key_dx_iterator< 0 > & grid_key_dx_iterator_sub< 0, warn >::operator++ ( )
inline

Next point.

stub version do nothing

Returns
itself

Definition at line 695 of file grid_key_dx_iterator_sub.hpp.

◆ reset()

template<typename warn >
void grid_key_dx_iterator_sub< 0, warn >::reset ( )
inline

Reset the iterator.

stub version, do nothing

Definition at line 724 of file grid_key_dx_iterator_sub.hpp.


The documentation for this class was generated from the following file: