diff +scheme/Scheme.m @ 955:92c3c170e90b

Merged in feature/utux2D (pull request #11) Feature/utux2D Approved-by: Jonatan Werpers <jonatan.werpers@it.uu.se> Approved-by: Martin Almquist <malmquist@stanford.edu> Approved-by: Vidar Stiernström <vidar.stiernstrom@it.uu.se>
author Jonatan Werpers <jonatan.werpers@it.uu.se>
date Mon, 10 Dec 2018 08:29:41 +0000
parents af397cc35239
children 514a98f9f90d c12b84fe9b00
line wrap: on
line diff
--- a/+scheme/Scheme.m	Fri Dec 07 16:10:58 2018 +0100
+++ b/+scheme/Scheme.m	Mon Dec 10 08:29:41 2018 +0000
@@ -26,7 +26,10 @@
         %                           interface to.
         %       penalty  may be a cell array if there are several penalties with different weights
         [closure, penalty] = boundary_condition(obj,boundary,type) % TODO: Change name to boundaryCondition
-        [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary)
+
+        % type -- sets the type of interface, could be a string or a struct or something else
+        %         depending on the particular scheme implementation
+        [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type)
 
         % TODO: op = getBoundaryOperator()??
         %   makes sense to have it available through a method instead of random properties