view +grid/Multiblock.m @ 159:ce10ebde3123 feature/grids

Added abstract class Structured.
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 19 Feb 2016 16:09:02 +0100
parents cf748f33cd5b
children c700b26ad304
line wrap: on
line source

classdef Multiblock < grid.Grid
    % General multiblock grid
    methods (Abstract)
        % NBlocks returns the number of blocks in the grid.
        o = NBlocks(obj);

        % Grid returns the ith grid in the multiblockgrid
        gs = Grid(obj,i);

        % Grids returns a cell array of all the grids in the multiblock grid.
        gs = Grids(obj);
    end
end


% Should define boundaries and connections between grids.