Distributed linearized key. More...
Distributed linearized key.
instead of having the sub-subdomain index it store directly a pointer to the grid
Definition at line 257 of file grid_dist_key.hpp.
#include <grid_dist_key.hpp>
Public Member Functions | |
| device_grid * | getSub () |
| return the sub-domain grid More... | |
| size_t | getKey () const |
| Get the key. More... | |
| size_t & | getKeyRef () |
| Get the reference key. More... | |
| bool | operator== (const grid_dist_g_dx &key_t) |
| grid_dist_g_dx (device_grid *dg, size_t key) | |
| Constructor. More... | |
| grid_dist_g_dx () | |
| Constructor. | |
| std::string | to_string () |
| convert the key to string More... | |
Private Attributes | |
| device_grid * | dg |
| grid list counter | |
| size_t | key |
| Local grid iterator. | |
|
inline |
Constructor.
| dg | array of local grid |
| key | actual position linearized |
Definition at line 323 of file grid_dist_key.hpp.
|
inline |
|
inline |
|
inline |
return the sub-domain grid
Definition at line 271 of file grid_dist_key.hpp.
|
inline |
convert the key to string
Definition at line 336 of file grid_dist_key.hpp.