comparison +grid/Multiblock.m @ 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 cf748f33cd5b
children 3587cb106b54
comparison
equal deleted inserted replaced
159:ce10ebde3123 160:c700b26ad304
3 methods (Abstract) 3 methods (Abstract)
4 % NBlocks returns the number of blocks in the grid. 4 % NBlocks returns the number of blocks in the grid.
5 o = NBlocks(obj); 5 o = NBlocks(obj);
6 6
7 % Grid returns the ith grid in the multiblockgrid 7 % Grid returns the ith grid in the multiblockgrid
8 gs = Grid(obj,i); 8 gs = grid(obj,i);
9 9
10 % Grids returns a cell array of all the grids in the multiblock grid. 10 % Grids returns a cell array of all the grids in the multiblock grid.
11 gs = Grids(obj); 11 gs = grids(obj);
12
13 % Split a grid function on obj to a cell array of grid function on each block
14 gf = splitFunc(gf)
12 end 15 end
13 end 16 end
14 17
15 18
16 % Should define boundaries and connections between grids. 19 % Should define boundaries and connections between grids.