comparison +scheme/Schrodinger.m @ 1044:5afc774fb7c4 feature/getBoundaryOp

Merge with default
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 22 Jan 2019 16:50:50 +0100
parents 8d73fcdb07a5 c12b84fe9b00
children 0c504a21432d
comparison
equal deleted inserted replaced
1042:8d73fcdb07a5 1044:5afc774fb7c4
159 function N = size(obj) 159 function N = size(obj)
160 N = obj.m; 160 N = obj.m;
161 end 161 end
162 162
163 end 163 end
164
165 methods(Static)
166 % Calculates the matrcis need for the inteface coupling between boundary bound_u of scheme schm_u
167 % and bound_v of scheme schm_v.
168 % [uu, uv, vv, vu] = inteface_couplong(A,'r',B,'l')
169 function [uu, uv, vv, vu] = interface_coupling(schm_u,bound_u,schm_v,bound_v)
170 [uu,uv] = schm_u.interface(bound_u,schm_v,bound_v);
171 [vv,vu] = schm_v.interface(bound_v,schm_u,bound_u);
172 end
173 end
174 end 164 end