comparison +scheme/Wave2d.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
comparison
equal deleted inserted replaced
1042:8d73fcdb07a5 1044:5afc774fb7c4
302 function N = size(obj) 302 function N = size(obj)
303 N = prod(obj.m); 303 N = prod(obj.m);
304 end 304 end
305 305
306 end 306 end
307
308 methods(Static)
309 % Calculates the matrcis need for the inteface coupling between boundary bound_u of scheme schm_u
310 % and bound_v of scheme schm_v.
311 % [uu, uv, vv, vu] = inteface_couplong(A,'r',B,'l')
312 function [uu, uv, vv, vu] = interface_coupling(schm_u,bound_u,schm_v,bound_v)
313 [uu,uv] = schm_u.interface(bound_u,schm_v,bound_v);
314 [vv,vu] = schm_v.interface(bound_v,schm_u,bound_u);
315 end
316 end
317 end 307 end