diff +scheme/Laplace1d.m @ 1047:6bc55a773e7c feature/getBoundaryOp

Fix some mistakes from dc1bcbef2a86
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 22 Jan 2019 17:42:58 +0100
parents 19ed046aec52
children 0c504a21432d
line wrap: on
line diff
--- a/+scheme/Laplace1d.m	Tue Jan 22 17:37:07 2019 +0100
+++ b/+scheme/Laplace1d.m	Tue Jan 22 17:42:58 2019 +0100
@@ -88,10 +88,12 @@
         function [closure, penalty] = interface(obj, boundary, neighbour_scheme, neighbour_boundary, type)
             % u denotes the solution in the own domain
             % v denotes the solution in the neighbour domain
-            [e_u, d_u] = obj.getBoundaryOperator({'e', 'd'}, boundary);
+            e_u = obj.getBoundaryOperator('e', boundary);
+            d_u = obj.getBoundaryOperator('d', boundary);
             s_u = obj.getBoundarySign(boundary);
 
-            [e_v, d_v] = neighbour_scheme.getBoundaryOperator({'e', 'd'}, neighbour_boundary);
+            e_v = neighbour_scheme.getBoundaryOperator('e', neighbour_boundary);
+            d_v = neighbour_scheme.getBoundaryOperator('d', neighbour_boundary);
             s_v = neighbour_scheme.getBoundarySign(neighbour_boundary);
 
             a_u = obj.a;