view +multiblock/+domain/Rectangle.m @ 590:7789a844ab65 feature/better_multiblock_defs

Add stub for Rectangle
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 11 Sep 2017 13:57:45 +0200
parents
children 37948bfe9d79
line wrap: on
line source

classdef Rectangle < multiblock.Definition
    properties

    end


    methods
        % Creates a ...
        % x and y are vectors of boundary and interface positions.
        function obj = Rectangle(x,y)

        end


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

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

        end

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