template<unsigned int dim, typename T, typename
Decomposition>
class PointIteratorSkin< dim, T, Decomposition >
this class draw particles on subset of grid-like position
(Box B)
| (0.6,0.6)
+ + + + | + + + + +
+---+-------+---+
+ | * | + + | * | + + + +
| | |
+ | * | + + | * | + + + +
| | | |
+ | * | + + | * | + + + +
| | | |
+ | * | + + | * | + + + +
| | | |
+ | * | + + | * | + + + +
| | | |
+ | * | + + | * | + + + +
| +-------+ |
+ | * * * * | + + + +
+---------------+
+ + + + + | + + + +
(-1.0,-1.0) |
|
(Box A)
Suppose we have a grid 9x9 from (-1.0,-1.0 to 0.6,0.6)
Defined a Box A (-0.9,-0.9 to -0.1,0.5) and a box B (-0.7, -0.7 to -0.3,0.5)
This class will return the points indicated with *
Definition at line 54 of file PointIteratorSkin.hpp.
|
| grid_dist_id_iterator_dec_skin (const grid_dist_id_iterator_dec_skin< Decomposition > &tmp) |
| Copy constructor.
|
|
| grid_dist_id_iterator_dec_skin (grid_dist_id_iterator_dec_skin< Decomposition > &&tmp) |
| Copy constructor.
|
|
| grid_dist_id_iterator_dec_skin (Decomposition &dec, const grid_sm< Decomposition::dims, void > &g_sm, const Box< Decomposition::dims, size_t > &A, const Box< Decomposition::dims, size_t > &B, const size_t(&bc)[Decomposition::dims]) |
| Constructor of the distributed grid iterator.
|
|
| ~grid_dist_id_iterator_dec_skin () |
| Destructor.
|
|
grid_dist_id_iterator_dec_skin< Decomposition > & | operator++ () |
| Get the next element.
|
|
bool | isNext () |
| Check if there is the next element.
|
|
Decomposition::stype | getSpacing (size_t i) |
| Get the spacing of the grid.
|
|
grid_key_dx< Decomposition::dims > | get () |
| Get the actual global key of the grid.
|
|
grid_dist_key_dx< Decomposition::dims > | get_int () |
| Get the actual key.
|
|
grid_dist_id_iterator_dec_skin< Decomposition > & | operator= (const grid_dist_id_iterator_dec_skin< Decomposition > &tmp) |
| Copy operator=.
|
|
grid_dist_id_iterator_dec_skin< Decomposition > & | operator= (grid_dist_id_iterator_dec_skin< Decomposition > &&tmp) |
| Copy operator=.
|
|
| grid_skin_iterator_bc (const grid_sm< dim, T > &g_sm, const Box< dim, size_t > &A, const Box< dim, size_t > &B, const size_t(&bc)[dim]) |
| Constructor require a grid_sm<dim,T>
|
|
grid_skin_iterator_bc< dim > & | operator++ () |
| Get the next element.
|
|
bool | isNext () |
| Check if there is the next element.
|
|
grid_key_dx< dim > | get () const |
| Get the actual key.
|
|
void | reset () |
| Reset the iterator (it restart from the beginning)
|
|
grid_key_dx_iterator_sub_bc< dim > | sub_it [2 *dim] |
| Internal iterator for each faces.
|
|