view +grid/boundaryIdentifier.txt @ 641:070d578997f6 feature/d1_staggered

Add helper function for primal and dual 1D staggered grid, and a test for that function.
author Martin Almquist <malmquist@stanford.edu>
date Sat, 11 Nov 2017 20:26:37 -0800
parents 763d50caddf3
children
line wrap: on
line source

A grid.boundaryIdentifier identifies a boundary of a grid.
For a Cartesian grid it is simply 's', 'n', 'w', 'e'.
For a multiblock grid it might be something like {1, 's'}.
For some other grid it will be up to the developer to chose
a good way to identify boundaries.