view +grid/Multiblock.m @ 155:cf748f33cd5b feature/grids

Removed some extra lines, added some notes and comments. Fixed classname.
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 18 Feb 2016 17:17:41 +0100
parents 7aee9eba3bb8
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.