Mercurial > repos > public > sbplib
diff +multiblock/Grid.m @ 216:8b10476b9bb7 feature/beams
multiblock: Fixed some problems in DiffOp and Grid.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 22 Jun 2016 14:44:03 +0200 |
parents | 6fb354955c37 |
children | b8ee5212f651 |
line wrap: on
line diff
--- a/+multiblock/Grid.m Wed Jun 22 14:42:49 2016 +0200 +++ b/+multiblock/Grid.m Wed Jun 22 14:44:03 2016 +0200 @@ -62,9 +62,9 @@ nBlocks = length(obj.grids); % Collect number of points in each block - N = cell(1,nBlocks); + N = zeros(1,nBlocks); for i = 1:nBlocks - N{i} = obj.grids{i}.N(); + N(i) = obj.grids{i}.N(); end gfs = mat2cell(gf, N, 1);