diff +scheme/Elastic2dVariable.m @ 1050:19d821ddc108 feature/getBoundaryOp

Fix mistakes in adbb80e60b10
author Martin Almquist <malmquist@stanford.edu>
date Tue, 22 Jan 2019 11:27:30 -0800
parents adbb80e60b10
children 60c875c18de3
line wrap: on
line diff
--- a/+scheme/Elastic2dVariable.m	Tue Jan 22 11:17:28 2019 -0800
+++ b/+scheme/Elastic2dVariable.m	Tue Jan 22 11:27:30 2019 -0800
@@ -429,8 +429,12 @@
             % Operators without subscripts are from the own domain.
 
             % Get boundary operators
-            [e, tau] = obj.getBoundaryOperator({'e_tot','tau_tot'}, boundary);
-            [e_v, tau_v] = neighbour_scheme.getBoundaryOperator({'e_tot','tau_tot'}, neighbour_boundary);
+            e = obj.getBoundaryOperator('e_tot', boundary);
+            tau = obj.getBoundaryOperator('tau_tot', boundary);
+
+            e_v = neighbour_scheme.getBoundaryOperator('e_tot', neighbour_boundary);
+            tau_v = neighbour_scheme.getBoundaryOperator('tau_tot', neighbour_boundary);
+
             H_gamma = obj.getBoundaryQuadrature(boundary);
 
             % Operators and quantities that correspond to the own domain only