gives cells access to their neighboring cells in a given stencil shape.

It is meant as a low-overhead replacement for CoordMap. The flags are used in template specializations to cover those cases in which accesses to neighboring cells need to be rerouted. In essence, we go through the pain of having such many parameters to resolve runtime conditionals for range checking at compile time.