view +grid/boundaryIdentifier.txt @ 619:9dd49d622a4c feature/grids

Add a function for easily applying many boundary conditions at the same time
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 20 Oct 2017 16:01:43 +0200
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.