comparison +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
comparison
equal deleted inserted replaced
589:53d422efaabd 590:7789a844ab65
1 classdef Rectangle < multiblock.Definition
2 properties
3
4 end
5
6
7 methods
8 % Creates a ...
9 % x and y are vectors of boundary and interface positions.
10 function obj = Rectangle(x,y)
11
12 end
13
14
15 % Returns a multiblock.Grid given some parameters
16 function g = getGrid(obj, varargin)
17 end
18
19 % label is the type of label used for plotting,
20 % default is block name, 'id' show the index for each block.
21 function show(obj, label, gridLines, varargin)
22
23 end
24
25 % Returns the grid size of each block in a cell array
26 % The input parameters are determined by the subclass
27 function ms = getGridSizes(obj, varargin)
28 end
29 end
30 end