Mercurial > repos > public > sbplib
diff +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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/+multiblock/BoundaryGroup.m Tue Sep 11 15:58:35 2018 +0200 @@ -0,0 +1,19 @@ +% BoundaryGroup defines a boundary grouping in a multiblock grid. +% It workds like a cell array and collects boundary identifiers +% Within the multiblock package a BoundaryGroup is a valid boundary identifier as well. +classdef BoundaryGroup < Cell + methods + function obj = BoundaryGroup(data) + obj = obj@Cell(data); + end + + function display(obj, name) + + disp(' ') + disp([name, ' =']) + disp(' ') + + fprintf(' BoundaryGroup%s\n\n', toString(obj.data)); + end + end +end