comparison +scheme/Schrodinger.m @ 955:92c3c170e90b

Merged in feature/utux2D (pull request #11) Feature/utux2D Approved-by: Jonatan Werpers <jonatan.werpers@it.uu.se> Approved-by: Martin Almquist <malmquist@stanford.edu> Approved-by: Vidar Stiernström <vidar.stiernstrom@it.uu.se>
author Jonatan Werpers <jonatan.werpers@it.uu.se>
date Mon, 10 Dec 2018 08:29:41 +0000
parents 706d1c2b4199
children 337c4d1dcef5 c12b84fe9b00
comparison
equal deleted inserted replaced
951:a6c5e73ff44e 955:92c3c170e90b
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) 93 function [closure, penalty] = interface(obj, boundary, neighbour_scheme, neighbour_boundary, type)
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