view +multiblock/BoundaryGroup.m @ 1278:ce422ba8964e feature/poroelastic

Add extra input pars to multiblock/Grid.getBoundary(), to be able to use the Staggered getBoundary method
author Martin Almquist <malmquist@stanford.edu>
date Sun, 07 Jun 2020 11:28:22 -0700
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