Mercurial > repos > public > sbplib
comparison +scheme/Utux.m @ 946:706d1c2b4199 feature/utux2D
Raname opts to type in a bunch of interface methods
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 05 Dec 2018 15:57:41 +0100 |
parents | b9c98661ff5d |
children | 6d2167719557 |
comparison
equal
deleted
inserted
replaced
945:af397cc35239 | 946:706d1c2b4199 |
---|---|
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,opts) | 71 function [closure, penalty] = interface(obj, boundary, neighbour_scheme, neighbour_boundary, type) |
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'; |