Mercurial > repos > public > sbplib
comparison +scheme/Utux2D.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 | 50cafc4b9e40 |
comparison
equal
deleted
inserted
replaced
909:ab1759166a8c | 910:b9c98661ff5d |
---|---|
130 end | 130 end |
131 penalty = -obj.Hi*tau; | 131 penalty = -obj.Hi*tau; |
132 | 132 |
133 end | 133 end |
134 | 134 |
135 function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type) | 135 function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,opts) |
136 | 136 |
137 % Get neighbour boundary operator | 137 % Get neighbour boundary operator |
138 switch neighbour_boundary | 138 switch neighbour_boundary |
139 case {'e','E','east','East'} | 139 case {'e','E','east','East'} |
140 e_neighbour = neighbour_scheme.e_e; | 140 e_neighbour = neighbour_scheme.e_e; |