Mercurial > repos > public > sbplib
diff +grid/Cartesian.m @ 188:c5ca9bbfed41 feature/grids
Added methods to hande boundaries to Grid. Added failing tests and method stubs.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 04 Mar 2016 17:19:18 +0100 |
parents | f7bb2a94d291 |
children | 7c1d3fc33f90 |
line wrap: on
line diff
--- a/+grid/Cartesian.m Fri Mar 04 17:18:20 2016 +0100 +++ b/+grid/Cartesian.m Fri Mar 04 17:19:18 2016 +0100 @@ -122,5 +122,16 @@ function gf = projectFunc(obj, gf, g) error('grid:Cartesian:NotImplemented') end + + % Return the names of all boundaries in this grid. + function bs = getBoundaryNames(obj) + bs = []; + end + + % Return coordinates for the given boundary + function b = getBoundary(obj, name) + b = []; + end + end end \ No newline at end of file