changeset 945:af397cc35239 feature/utux2D

Update abstract scheme class
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 05 Dec 2018 10:55:50 +0100
parents a35ed1d124d3
children 706d1c2b4199
files +scheme/Scheme.m
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
diff -r a35ed1d124d3 -r af397cc35239 +scheme/Scheme.m
--- a/+scheme/Scheme.m	Wed Dec 05 10:52:37 2018 +0100
+++ b/+scheme/Scheme.m	Wed Dec 05 10:55:50 2018 +0100
@@ -27,12 +27,9 @@
         %       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
 
-        % opts                  multiblock.InterfaceOptions object that specifies
-        %                       the details of the interface coupling.
-        %                       The format of opts is different for every scheme.
-        %                       Some schemes may only have one interface treatment
-        %                       implemented, in which case opts is a dummy.
-        [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,opts)
+        % 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