Grid
The equations of simgeometry.grid, declared on the code that implements them and checked by the tests.
Grid
classsourceRepresent grid coordinates for a bounded simulation domain.
- nodes
- spacing
- cell
- Assumes
- uniform nodes per axis, in C order; on a bounded axis the first and last node sit on the bounds, on a periodic axis the last node is one spacing before
- outside the half-open box
get_cell_indicesreturns an empty tuple - ghost points only widen the local node count to ; the halo exchange is mpiarray's