Mercurial > repos > public > sbplib
diff +multiblock/Grid.m @ 189:6054dcd3c8a9 feature/grids
Added a class for boundary groups. Added methods stubs and failing tests.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 04 Mar 2016 17:20:30 +0100 |
parents | 1fc2eeb4f4e6 |
children | 6fb354955c37 |
line wrap: on
line diff
--- a/+multiblock/Grid.m Fri Mar 04 17:19:18 2016 +0100 +++ b/+multiblock/Grid.m Fri Mar 04 17:20:30 2016 +0100 @@ -15,7 +15,7 @@ % it's empty there is no connection otherwise it's a 2 % -cell-vector with strings naming the boundaries to be % connected. (inverted coupling?) - function obj = Grid(grids, connections) + function obj = Grid(grids, connections, boundaryGroup) obj.grids = grids; obj.connections = connections; @@ -93,5 +93,14 @@ end end + + function bs = getBoundaryNames(obj) + bs = []; + end + + % Return coordinates for the given boundary + function b = getBoundary(obj, name) + b = []; + end end end