view +grid/boundaryIdentifier.txt @ 1037:2d7ba44340d0 feature/burgers1d

Pass scheme specific parameters as cell array. This will enabale constructDiffOps to be more general. In addition, allow for schemes returning function handles as diffOps, which is currently how non-linear schemes such as Burgers1d are implemented.
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Fri, 18 Jan 2019 09:02:02 +0100
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.