diff +scheme/Scheme.m @ 910:b9c98661ff5d feature/utux2D

Change the name of the last interface method argument from type to opts in all schemes.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 23 Nov 2018 20:39:40 -0800
parents 459eeb99130f
children af397cc35239
line wrap: on
line diff
--- a/+scheme/Scheme.m	Fri Nov 23 20:21:28 2018 -0800
+++ b/+scheme/Scheme.m	Fri Nov 23 20:39:40 2018 -0800
@@ -27,11 +27,12 @@
         %       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
 
-        % type                  Specifies the type of interface coupling.
-        %                       The format of type is different for every scheme.
-        %                       Some schemes may only have one type implemented, in which case
-        %                       the input argument is a dummy.
-        [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type)
+        % 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)
 
         % TODO: op = getBoundaryOperator()??
         %   makes sense to have it available through a method instead of random properties