changeset 1293:3e2c1df740df feature/poroelastic

Merge heads.
author Martin Almquist <malmquist@stanford.edu>
date Mon, 29 Jun 2020 15:26:36 -0700
parents 3c87e8d08076 (current diff) 70939ea9a71f (diff)
children fe712a1fca3f
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/+scheme/Elastic2dVariable.m	Mon Jun 29 15:24:21 2020 -0700
+++ b/+scheme/Elastic2dVariable.m	Mon Jun 29 15:26:36 2020 -0700
@@ -198,8 +198,8 @@
 
             % D2
             for i = 1:dim
-                obj.D2_lambda{i} = sparse(m_tot);
-                obj.D2_mu{i} = sparse(m_tot);
+                obj.D2_lambda{i} = sparse(m_tot, m_tot);
+                obj.D2_mu{i} = sparse(m_tot, m_tot);
             end
             ind = grid.funcToMatrix(g, 1:m_tot);