Mercurial > repos > public > sbplib
comparison +scheme/Scheme.m @ 1044:5afc774fb7c4 feature/getBoundaryOp
Merge with default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 22 Jan 2019 16:50:50 +0100 |
parents | 514a98f9f90d c12b84fe9b00 |
children |
comparison
equal
deleted
inserted
replaced
1042:8d73fcdb07a5 | 1044:5afc774fb7c4 |
---|---|
35 H_b= getBoundaryQuadrature(obj, boundary) | 35 H_b= getBoundaryQuadrature(obj, boundary) |
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 |