Amr grid distributed key. More...
Amr grid distributed key.
dim | dimensionality |
Definition at line 17 of file grid_dist_amr_key.hpp.
#include <grid_dist_amr_key.hpp>
Public Member Functions | |
grid_dist_amr_key (size_t lvl, grid_dist_key_dx< dim > key) | |
const grid_dist_key_dx< dim > & | getKey () const |
Return the grid key. | |
grid_dist_key_dx< dim > & | getKeyRef () |
Return the grid key (as reference) | |
size_t | getLvl () const |
Return the level. | |
void | setLvl (size_t lvl) |
Return the level. | |
grid_dist_amr_key< dim > | moveSpace (size_t d, size_t s) |
Create a new key moving the old one. | |
Private Attributes | |
size_t | lvl |
actual level | |
grid_dist_key_dx< dim > | key |
actual position in the distributed grid | |
|
inline |
\constructor
lvl | level |
key | distributed grid key |
offsets | to move between levels |
Definition at line 35 of file grid_dist_amr_key.hpp.
|
inline |
Return the grid key.
Definition at line 45 of file grid_dist_amr_key.hpp.
|
inline |
Return the grid key (as reference)
Definition at line 55 of file grid_dist_amr_key.hpp.
|
inline |
|
inline |
Create a new key moving the old one.
s | dimension id |
s | number of steps |
Definition at line 89 of file grid_dist_amr_key.hpp.
|
inline |
|
private |
actual position in the distributed grid
Definition at line 23 of file grid_dist_amr_key.hpp.
|
private |
actual level
Definition at line 20 of file grid_dist_amr_key.hpp.