Mercurial > repos > public > sbplib
comparison +scheme/Laplace1d.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 | dc1bcbef2a86 |
comparison
equal
deleted
inserted
replaced
1042:8d73fcdb07a5 | 1044:5afc774fb7c4 |
---|---|
162 function N = size(obj) | 162 function N = size(obj) |
163 N = obj.grid.size(); | 163 N = obj.grid.size(); |
164 end | 164 end |
165 | 165 |
166 end | 166 end |
167 | |
168 methods(Static) | |
169 % Calculates the matrcis need for the inteface coupling between boundary bound_u of scheme schm_u | |
170 % and bound_v of scheme schm_v. | |
171 % [uu, uv, vv, vu] = inteface_couplong(A,'r',B,'l') | |
172 function [uu, uv, vv, vu] = interface_coupling(schm_u,bound_u,schm_v,bound_v) | |
173 [uu,uv] = schm_u.interface(bound_u,schm_v,bound_v); | |
174 [vv,vu] = schm_v.interface(bound_v,schm_u,bound_u); | |
175 end | |
176 end | |
177 end | 167 end |