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