diff +grid/Grid.m @ 200:ef41fde95ac4 feature/beams

Merged feature/grids into feature/beams.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 13 Jun 2016 16:59:02 +0200
parents c5ca9bbfed41
children 763d50caddf3
line wrap: on
line diff
--- a/+grid/Grid.m	Mon Feb 29 15:40:34 2016 +0100
+++ b/+grid/Grid.m	Mon Jun 13 16:59:02 2016 +0200
@@ -15,13 +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
-
-
-%% Should it be able to return a cell size aswell? For an equidistant grid this would be know
-%% for other grids the constructor would have to make something up.
-%% For example the grid.Cartesian constructor would take a h (1 x d) vector as an in parameter.
-
-
-%Should define boundaries somehow, look in stitchSchemes.
\ No newline at end of file