Mercurial > repos > public > sbplib
comparison +multiblock/BoundaryGroup.m @ 832:5573913a0949 feature/burgers1d
Merged with default, and updated +scheme/Burgers1D accordingly
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 11 Sep 2018 15:58:35 +0200 |
parents | 6712655953d3 |
children |
comparison
equal
deleted
inserted
replaced
831:d0934d1143b7 | 832:5573913a0949 |
---|---|
1 % BoundaryGroup defines a boundary grouping in a multiblock grid. | |
2 % It workds like a cell array and collects boundary identifiers | |
3 % Within the multiblock package a BoundaryGroup is a valid boundary identifier as well. | |
4 classdef BoundaryGroup < Cell | |
5 methods | |
6 function obj = BoundaryGroup(data) | |
7 obj = obj@Cell(data); | |
8 end | |
9 | |
10 function display(obj, name) | |
11 | |
12 disp(' ') | |
13 disp([name, ' =']) | |
14 disp(' ') | |
15 | |
16 fprintf(' BoundaryGroup%s\n\n', toString(obj.data)); | |
17 end | |
18 end | |
19 end |