Mercurial > repos > public > sbplib
comparison +scheme/Wave2dCurve.m @ 905:459eeb99130f feature/utux2D
Include type as (optional) input parameter in the interface method of all schemes.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Thu, 22 Nov 2018 22:03:44 -0800 |
parents | 4e266dfe9edc |
children | b9c98661ff5d |
comparison
equal
deleted
inserted
replaced
904:14b093a344eb | 905:459eeb99130f |
---|---|
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) | 246 function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type) |
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); |