8 #ifndef SRC_AMR_GRID_DIST_AMR_KEY_HPP_ 9 #define SRC_AMR_GRID_DIST_AMR_KEY_HPP_ 16 template<
unsigned int dim>
size_t getLvl() const
Return the level.
grid_dist_amr_key< dim > moveSpace(size_t d, size_t s)
Create a new key moving the old one.
grid_dist_key_dx< dim, base_key > move(size_t i, int s) const
Create a new key moving the old one.
void setLvl(size_t lvl)
Return the level.
grid_dist_key_dx< dim > key
actual position in the distributed grid
grid_dist_key_dx< dim > & getKeyRef()
Return the grid key (as reference)
grid_dist_amr_key(size_t lvl, grid_dist_key_dx< dim > key)
Amr grid distributed key.
const grid_dist_key_dx< dim > & getKey() const
Return the grid key.