Mercurial > repos > public > sbplib
comparison +scheme/Wave2dCurve.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 |
---|---|
241 otherwise | 241 otherwise |
242 error('No such boundary condition: type = %s',type); | 242 error('No such boundary condition: type = %s',type); |
243 end | 243 end |
244 end | 244 end |
245 | 245 |
246 function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type) | 246 function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,opts) |
247 % u denotes the solution in the own domain | 247 % u denotes the solution in the own domain |
248 % v denotes the solution in the neighbour domain | 248 % v denotes the solution in the neighbour domain |
249 tuning = 1.2; | 249 tuning = 1.2; |
250 % tuning = 20.2; | 250 % tuning = 20.2; |
251 [e_u, d_n_u, d_t_u, coeff_n_u, coeff_t_u, s_u, gamm_u, halfnorm_inv_u_n, halfnorm_inv_u_t, halfnorm_u_t, I_u] = obj.get_boundary_ops(boundary); | 251 [e_u, d_n_u, d_t_u, coeff_n_u, coeff_t_u, s_u, gamm_u, halfnorm_inv_u_n, halfnorm_inv_u_t, halfnorm_u_t, I_u] = obj.get_boundary_ops(boundary); |