view +grid/Multiblock.m @ 170:62b5f3c34bcb feature/grids

Implemented Curvilinear and equdistantCurvilinear.
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 25 Feb 2016 11:10:25 +0100
parents c700b26ad304
children 3587cb106b54
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);

        % Split a grid function on obj to a cell array of grid function on each block
        gf = splitFunc(gf)
    end
end


% Should define boundaries and connections between grids.