Mercurial > repos > public > sbplib
changeset 181:419ec303e97d feature/beams
Made some local changes to stichSchemes.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 29 Feb 2016 15:40:34 +0100 |
parents | 001239c03eb2 |
children | ef41fde95ac4 |
files | +multiblock/stitchSchemes.m |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/+multiblock/stitchSchemes.m Mon Feb 29 15:08:01 2016 +0100 +++ b/+multiblock/stitchSchemes.m Mon Feb 29 15:40:34 2016 +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