Mercurial > repos > public > sbplib
view +multiblock/BoundaryGroup.m @ 1037:2d7ba44340d0 feature/burgers1d
Pass scheme specific parameters as cell array. This will enabale constructDiffOps to be more general. In addition, allow for schemes returning function handles as diffOps, which is currently how non-linear schemes such as Burgers1d are implemented.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 18 Jan 2019 09:02:02 +0100 |
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