view +multiblock/Definition.m @ 587:25fdc7a625b6 feature/better_multiblock_defs

Add abstract class for multiblock definitions
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 11 Sep 2017 13:46:08 +0200
parents
children 53d422efaabd
line wrap: on
line source

classdef Definition
    methods (Abstract)

        % Returns a multiblock.Grid given some parameters
        g = getGrid(obj, varargin)

        % label is the type of label used for plotting,
        % default is block name, 'id' show the index for each block.
        show(obj, label, gridLines, varargin)

        % Returns the grid size of each block in a cell array
        % The input parameters are determined by the subclass
        ms = getGridSizes(obj, varargin)
    end
end