comparison +scheme/Wave2dCurve.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
comparison
equal deleted inserted replaced
945:af397cc35239 946:706d1c2b4199
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,opts) 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);