Mercurial > repos > public > sbplib
diff +multiblock/BoundaryGroup.m @ 886:8894e9c49e40 feature/timesteppers
Merge with default for latest changes
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 15 Nov 2018 16:36:21 -0800 |
parents | 6712655953d3 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/+multiblock/BoundaryGroup.m Thu Nov 15 16:36:21 2018 -0800 @@ -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