590
|
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
|