diff +multiblock/Grid.m @ 757:179f234f6cbf feature/d1_staggered

Merge with poroelastic to get blockEvalOn.
author Martin Almquist <malmquist@stanford.edu>
date Sun, 17 Jun 2018 14:44:05 -0700
parents b0386d2c180d
children 67228a10dfad
line wrap: on
line diff
--- a/+multiblock/Grid.m	Sat Jun 16 14:30:45 2018 -0700
+++ b/+multiblock/Grid.m	Sun Jun 17 14:44:05 2018 -0700
@@ -77,7 +77,7 @@
             % Collect number of points in each block
             N = zeros(1,nBlocks);
             for i = 1:nBlocks
-                N(i) = obj.grids{i}.N();
+                N(i) = obj.grids{i}.N()*nComponents;
             end
 
             gfs = blockmatrix.fromMatrix(gf, {N,1});