Mercurial > repos > public > sbplib
comparison +multiblock/DiffOp.m @ 343:ac30761d7bdb feature/beams
Fixed bug in parameter parsing.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 04 Nov 2016 11:14:29 -0700 |
parents | 2d48db7151cf |
children | 61b75d6d4899 |
comparison
equal
deleted
inserted
replaced
342:46aa0b6a10cd | 343:ac30761d7bdb |
---|---|
35 % Create the diffOps for each block | 35 % Create the diffOps for each block |
36 obj.diffOps = cell(1, nBlocks); | 36 obj.diffOps = cell(1, nBlocks); |
37 for i = 1:nBlocks | 37 for i = 1:nBlocks |
38 h = getHand(i); | 38 h = getHand(i); |
39 p = getParam(i); | 39 p = getParam(i); |
40 if ~iscell(p) | |
41 p = {p}; | |
42 end | |
40 obj.diffOps{i} = h(grid.grids{i}, order, p{:}); | 43 obj.diffOps{i} = h(grid.grids{i}, order, p{:}); |
41 end | 44 end |
42 | 45 |
43 | 46 |
44 % Build the norm matrix | 47 % Build the norm matrix |