Definition at line 158 of file SparseGridGpu_iterator.hpp.
Public Member Functions | |
SparseGridGpu_iterator (const SparseGridType &sparseGrid) | |
Constructor. | |
bool | isNext () const |
Check if there is the next element. | |
SparseGridGpu_iterator< dim, SparseGridType > & | operator++ () |
Get the next element. | |
sparse_grid_gpu_index< SparseGridType > | get () const |
return the actual point | |
void | reinitialize (const SparseGridGpu_iterator< dim, SparseGridType > &it) |
Reinitialize the iterator. | |
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< typenamedata_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 | |
|
private |
Definition at line 182 of file SparseGridGpu_iterator.hpp.
|
private |
array type for the data
Definition at line 173 of file SparseGridGpu_iterator.hpp.
|
private |
array type for the indexes
Definition at line 170 of file SparseGridGpu_iterator.hpp.
|
private |
Definition at line 185 of file SparseGridGpu_iterator.hpp.
|
inline |
Definition at line 209 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 |
Definition at line 291 of file SparseGridGpu_iterator.hpp.
|
inline |
Reinitialize the iterator.
it_sub | subiterator |
Definition at line 286 of file SparseGridGpu_iterator.hpp.
|
inlineprivate |
Select the first valid point chunk.
Definition at line 188 of file SparseGridGpu_iterator.hpp.
|
private |
actual chunk
Definition at line 161 of file SparseGridGpu_iterator.hpp.
|
private |
vector containing each chunks datas
Definition at line 179 of file SparseGridGpu_iterator.hpp.
|
private |
vector of the chunk indexes
Definition at line 176 of file SparseGridGpu_iterator.hpp.
|
private |
actual point inside the chunk
Definition at line 164 of file SparseGridGpu_iterator.hpp.
|
private |
original SparseGrid
Definition at line 167 of file SparseGridGpu_iterator.hpp.