Public Member Functions | |
| SparseGridGpu_iterator (const SparseGridType &sparseGrid) | |
| Constructor. More... | |
| bool | isNext () const |
| Check if there is the next element. More... | |
| SparseGridGpu_iterator< dim, SparseGridType > & | operator++ () |
| Get the next element. More... | |
| sparse_grid_gpu_index< SparseGridType > | get () const |
| return the actual point More... | |
| void | reinitialize (const SparseGridGpu_iterator< dim, SparseGridType > &it) |
| Reinitialize the iterator. More... | |
| SparseGridGpu_iterator< dim, SparseGridType > & | operator= (const SparseGridGpu_iterator< dim, SparseGridType > &it) |
Private Types | |
| typedef std::remove_reference< decltype(sparseGrid->private_get_index_array())>::type | index_array_type |
| array type for the indexes | |
| typedef std::remove_reference< decltype(sparseGrid->private_get_data_array())>::type | data_array_type |
| array type for the data | |
| typedef boost::mpl::at< typename data_array_type::value_type::type, boost::mpl::int_< 0 > >::type | chunk_type |
| typedef boost::mpl::int_< boost::mpl::size< typename data_array_type::value_type::type >::type::value-1 > | pMask |
Private Member Functions | |
| void | SelectValid () |
| Select the first valid point chunk. | |
Private Attributes | |
| unsigned int | chunk |
| actual chunk | |
| unsigned int | pnt |
| actual point inside the chunk | |
| const SparseGridType * | sparseGrid |
| original SparseGrid | |
| const index_array_type * | ids |
| vector of the chunk indexes | |
| const data_array_type * | data |
| vector containing each chunks datas | |
Definition at line 158 of file SparseGridGpu_iterator.hpp.
|
inline |
Constructor.
| ids | vector of ids \para data vector of chunk data |
Definition at line 225 of file SparseGridGpu_iterator.hpp.
|
inline |
return the actual point
Definition at line 274 of file SparseGridGpu_iterator.hpp.
|
inline |
Check if there is the next element.
Check if there is the next element
Definition at line 242 of file SparseGridGpu_iterator.hpp.
|
inline |
Get the next element.
Get the next element
Definition at line 254 of file SparseGridGpu_iterator.hpp.
|
inline |
Reinitialize the iterator.
| it_sub | subiterator |
Definition at line 286 of file SparseGridGpu_iterator.hpp.