Mercurial > repos > public > sbplib
comparison +scheme/Scheme.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 | af397cc35239 |
children | 5afc774fb7c4 |
comparison
equal
deleted
inserted
replaced
1041:25d0efdb0f75 | 1043:c12b84fe9b00 |
---|---|
35 % makes sense to have it available through a method instead of random properties | 35 % makes sense to have it available through a method instead of random properties |
36 | 36 |
37 % Returns the number of degrees of freedom. | 37 % Returns the number of degrees of freedom. |
38 N = size(obj) | 38 N = size(obj) |
39 end | 39 end |
40 | |
41 methods(Static) | |
42 % Calculates the matrcis need for the inteface coupling between | |
43 % boundary bound_u of scheme schm_u and bound_v of scheme schm_v. | |
44 % [uu, uv, vv, vu] = inteface_coupling(A,'r',B,'l') | |
45 function [uu, uv, vv, vu] = interface_coupling(schm_u,bound_u,schm_v,bound_v) | |
46 [uu,uv] = schm_u.interface(bound_u,schm_v,bound_v); | |
47 [vv,vu] = schm_v.interface(bound_v,schm_u,bound_u); | |
48 end | |
49 end | |
50 end | 40 end |