comparison +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
comparison
equal deleted inserted replaced
187:770da87a6dc4 188:c5ca9bbfed41
13 % Restricts the grid function gf on obj to the subgrid g. 13 % Restricts the grid function gf on obj to the subgrid g.
14 gf = restrictFunc(obj, gf, g) 14 gf = restrictFunc(obj, gf, g)
15 15
16 % Projects the grid function gf on obj to the grid g. 16 % Projects the grid function gf on obj to the grid g.
17 gf = projectFunc(obj, gf, g) 17 gf = projectFunc(obj, gf, g)
18
19 % Return the names of all boundaries in this grid.
20 bs = getBoundaryNames(obj)
21
22 % Return coordinates for the given boundary
23 b = getBoundary(obj, name)
18 end 24 end
19 end 25 end