comparison +scheme/Schrodinger.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
88 otherwise 88 otherwise
89 error('No such boundary condition: type = %s',type); 89 error('No such boundary condition: type = %s',type);
90 end 90 end
91 end 91 end
92 92
93 function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type) 93 function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,opts)
94 % u denotes the solution in the own domain 94 % u denotes the solution in the own domain
95 % v denotes the solution in the neighbour domain 95 % v denotes the solution in the neighbour domain
96 [e_u,d_u,s_u] = obj.get_boundary_ops(boundary); 96 [e_u,d_u,s_u] = obj.get_boundary_ops(boundary);
97 [e_v,d_v,s_v] = neighbour_scheme.get_boundary_ops(neighbour_boundary); 97 [e_v,d_v,s_v] = neighbour_scheme.get_boundary_ops(neighbour_boundary);
98 98