Mercurial > repos > public > sbplib
comparison +multiblock/+domain/Rectangle.m @ 1297:e53b1e25970a feature/boundary_optimized_grids
Change +sbp/+util/ to +sbp/+grid and change function names to camel case
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 07 Jul 2020 16:08:08 +0200 |
parents | 2853b655c172 |
children | ee3d694f2340 |
comparison
equal
deleted
inserted
replaced
1296:2853b655c172 | 1297:e53b1e25970a |
---|---|
146 if isempty(varargin) || strcmp(varargin{1},'equidist') | 146 if isempty(varargin) || strcmp(varargin{1},'equidist') |
147 gridgenerator = @(m,xlim,ylim)grid.equidistant(m,xlim,ylim); | 147 gridgenerator = @(m,xlim,ylim)grid.equidistant(m,xlim,ylim); |
148 elseif strcmp(varargin{1},'boundaryopt') | 148 elseif strcmp(varargin{1},'boundaryopt') |
149 order = varargin{2}; | 149 order = varargin{2}; |
150 stenciloption = varargin{3}; | 150 stenciloption = varargin{3}; |
151 gridgenerator = @(m,xlim,ylim)grid.boundaryoptimized(m,xlim,ylim,... | 151 gridgenerator = @(m,xlim,ylim)grid.boundaryOptimized(m,xlim,ylim,... |
152 order,stenciloption); | 152 order,stenciloption); |
153 else | 153 else |
154 error('No grid type supplied!'); | 154 error('No grid type supplied!'); |
155 end | 155 end |
156 grids = cell(1, obj.nBlocks); | 156 grids = cell(1, obj.nBlocks); |