Mercurial > repos > public > sbplib
diff +grid/Grid.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 | c2db0294f8ed |
children | 763d50caddf3 |
line wrap: on
line diff
--- a/+grid/Grid.m Fri Mar 04 17:18:20 2016 +0100 +++ b/+grid/Grid.m Fri Mar 04 17:19:18 2016 +0100 @@ -15,5 +15,11 @@ % Projects the grid function gf on obj to the grid g. gf = projectFunc(obj, gf, g) + + % Return the names of all boundaries in this grid. + bs = getBoundaryNames(obj) + + % Return coordinates for the given boundary + b = getBoundary(obj, name) end end