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 301 of file grid_dist_key.hpp.
#include <grid_dist_key.hpp>
Public Member Functions | |
device_grid * | getSub () const |
return the sub-domain grid | |
size_t | getKey () const |
Get the key. | |
size_t & | getKeyRef () |
Get the reference key. | |
bool | operator== (const grid_dist_g_dx &key_t) |
grid_dist_g_dx (device_grid *dg, size_t key) | |
Constructor. | |
grid_dist_g_dx () | |
Constructor. | |
std::string | to_string () |
convert the key to string | |
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 367 of file grid_dist_key.hpp.
|
inline |
Constructor.
Definition at line 373 of file grid_dist_key.hpp.
|
inline |
|
inline |
|
inline |
return the sub-domain grid
Definition at line 315 of file grid_dist_key.hpp.
|
inline |
Definition at line 350 of file grid_dist_key.hpp.
|
inline |
convert the key to string
Definition at line 380 of file grid_dist_key.hpp.
|
private |
grid list counter
Definition at line 304 of file grid_dist_key.hpp.
|
private |
Local grid iterator.
Definition at line 307 of file grid_dist_key.hpp.