Mercurial > repos > public > sbplib
diff +multiblock/stitchSchemes.m @ 427:a613960a157b feature/quantumTriangles
merged with feature/beams
author | Ylva Rydin <ylva.rydin@telia.com> |
---|---|
date | Thu, 26 Jan 2017 15:59:25 +0100 |
parents | 419ec303e97d |
children | 437fad4a47e1 |
line wrap: on
line diff
--- a/+multiblock/stitchSchemes.m Wed Jan 25 17:14:17 2017 +0100 +++ b/+multiblock/stitchSchemes.m Thu Jan 26 15:59:25 2017 +0100 @@ -11,24 +11,24 @@ % Output parameters are cell arrays and cell matrices. % % Ex: [schms, D, H] = stitchSchemes(schmHand, order, schmParam, blocks, ms, conn, bound) -function [schms, D, H] = stitchSchemes(schmHand, order, schmParam, blocks, ms, conn, bound) +function [schms, D, H] = stitchSchemes(schmHand, order, schmParam, grids, conn, bound) default_arg('schmParam',[]); - n_blocks = numel(blocks); + n_blocks = numel(grids); % Creating Schemes for i = 1:n_blocks if isempty(schmParam); - schms{i} = schmHand(ms{i},blocks{i},order,[]); + schms{i} = schmHand(grids{i},order,[]); elseif ~iscell(schmParam) param = schmParam(i); - schms{i} = schmHand(ms{i},blocks{i},order,param); + schms{i} = schmHand(grids{i},order,param); else param = schmParam{i}; if iscell(param) - schms{i} = schmHand(ms{i},blocks{i},order,param{:}); + schms{i} = schmHand(grids{i},order,param{:}); else - schms{i} = schmHand(ms{i},blocks{i},order,param); + schms{i} = schmHand(grids{i},order,param); end end