OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
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 664 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. More...
 
bool isNext ()
 Is there a next point. More...
 
size_t getVolume ()
 return the volume More...
 
void reset ()
 Reset the iterator. More...
 

Member Function Documentation

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 699 of file grid_key_dx_iterator_sub.hpp.

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 689 of file grid_key_dx_iterator_sub.hpp.

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 679 of file grid_key_dx_iterator_sub.hpp.

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

Reset the iterator.

stub version, do nothing

Definition at line 708 of file grid_key_dx_iterator_sub.hpp.


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