comparison +scheme/Schrodinger.m @ 1043:c12b84fe9b00

Remove static method `interface_coupling` that shouldn't have existed in the first place
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 22 Jan 2019 16:50:05 +0100
parents 706d1c2b4199
children 5afc774fb7c4
comparison
equal deleted inserted replaced
1041:25d0efdb0f75 1043:c12b84fe9b00
126 function N = size(obj) 126 function N = size(obj)
127 N = obj.m; 127 N = obj.m;
128 end 128 end
129 129
130 end 130 end
131
132 methods(Static)
133 % Calculates the matrcis need for the inteface coupling between boundary bound_u of scheme schm_u
134 % and bound_v of scheme schm_v.
135 % [uu, uv, vv, vu] = inteface_couplong(A,'r',B,'l')
136 function [uu, uv, vv, vu] = interface_coupling(schm_u,bound_u,schm_v,bound_v)
137 [uu,uv] = schm_u.interface(bound_u,schm_v,bound_v);
138 [vv,vu] = schm_v.interface(bound_v,schm_u,bound_u);
139 end
140 end
141 end 131 end