comparison +grid/Multiblock.m @ 153:7aee9eba3bb8 feature/grids

Added abstract classes for some different types of grids.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 22 Dec 2015 11:59:55 +0100
parents
children cf748f33cd5b
comparison
equal deleted inserted replaced
152:276dcccf6155 153:7aee9eba3bb8
1 classdef Grid < grid.Grid
2 % General multiblock grid
3 methods (Abstract)
4 % NBlocks returns the number of blocks in the grid.
5 o = NBlocks(obj);
6
7 % Grid returns the ith grid in the multiblockgrid
8 gs = Grid(obj,i);
9
10 % Grids returns a cell array of all the grids in the multiblock grid.
11 gs = Grids(obj);
12 end
13 end