Mercurial > repos > public > sbplib
comparison +scheme/Utux.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 | 706d1c2b4199 |
comparison
equal
deleted
inserted
replaced
909:ab1759166a8c | 910:b9c98661ff5d |
---|---|
66 closure = obj.Hi*tau*obj.e_l'; | 66 closure = obj.Hi*tau*obj.e_l'; |
67 penalty = -obj.Hi*tau; | 67 penalty = -obj.Hi*tau; |
68 | 68 |
69 end | 69 end |
70 | 70 |
71 function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type) | 71 function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,opts) |
72 switch boundary | 72 switch boundary |
73 % Upwind coupling | 73 % Upwind coupling |
74 case {'l','left'} | 74 case {'l','left'} |
75 tau = -1*obj.e_l; | 75 tau = -1*obj.e_l; |
76 closure = obj.Hi*tau*obj.e_l'; | 76 closure = obj.Hi*tau*obj.e_l'; |