Mercurial > repos > public > sbplib
changeset 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 | 53d422efaabd |
children | 37948bfe9d79 |
files | +multiblock/+domain/Rectangle.m |
diffstat | 1 files changed, 30 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
diff -r 53d422efaabd -r 7789a844ab65 +multiblock/+domain/Rectangle.m --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/+multiblock/+domain/Rectangle.m Mon Sep 11 13:57:45 2017 +0200 @@ -0,0 +1,30 @@ +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