changeset 160:c700b26ad304 feature/grids

Multiblock.m: Made methods lower case. Added a method.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 22 Feb 2016 12:27:31 +0100
parents ce10ebde3123
children 73bc43c7379e
files +grid/Multiblock.m
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/+grid/Multiblock.m	Fri Feb 19 16:09:02 2016 +0100
+++ b/+grid/Multiblock.m	Mon Feb 22 12:27:31 2016 +0100
@@ -5,10 +5,13 @@
         o = NBlocks(obj);
 
         % Grid returns the ith grid in the multiblockgrid
-        gs = Grid(obj,i);
+        gs = grid(obj,i);
 
         % Grids returns a cell array of all the grids in the multiblock grid.
-        gs = Grids(obj);
+        gs = grids(obj);
+
+        % Split a grid function on obj to a cell array of grid function on each block
+        gf = splitFunc(gf)
     end
 end