Mercurial > repos > public > sbplib
view +multiblock/BoundaryGroup.m @ 619:9dd49d622a4c feature/grids
Add a function for easily applying many boundary conditions at the same time
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 20 Oct 2017 16:01:43 +0200 |
parents | 6712655953d3 |
children |
line wrap: on
line source
% 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