Mercurial > repos > public > sbplib
changeset 1044:5afc774fb7c4 feature/getBoundaryOp
Merge with default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 22 Jan 2019 16:50:50 +0100 |
parents | 8d73fcdb07a5 (current diff) c12b84fe9b00 (diff) |
children | dc1bcbef2a86 |
files | +scheme/Beam.m +scheme/Laplace1d.m +scheme/Scheme.m +scheme/Schrodinger.m +scheme/Utux.m +scheme/Utux2d.m +scheme/Wave2d.m |
diffstat | 7 files changed, 6 insertions(+), 66 deletions(-) [+] |
line wrap: on
line diff
diff -r 8d73fcdb07a5 -r 5afc774fb7c4 +scheme/Beam.m --- a/+scheme/Beam.m Tue Jan 22 16:47:34 2019 +0100 +++ b/+scheme/Beam.m Tue Jan 22 16:50:50 2019 +0100 @@ -125,7 +125,7 @@ closure = obj.Hi*(tau*d2' + sig*d3'); penalty{1} = -obj.Hi*tau; - penalty{1} = -obj.Hi*sig; + penalty{2} = -obj.Hi*sig; case 'e' alpha = obj.alpha;
diff -r 8d73fcdb07a5 -r 5afc774fb7c4 +scheme/Laplace1d.m --- a/+scheme/Laplace1d.m Tue Jan 22 16:47:34 2019 +0100 +++ b/+scheme/Laplace1d.m Tue Jan 22 16:50:50 2019 +0100 @@ -164,14 +164,4 @@ end end - - methods(Static) - % Calculates the matrcis need for the inteface coupling between boundary bound_u of scheme schm_u - % and bound_v of scheme schm_v. - % [uu, uv, vv, vu] = inteface_couplong(A,'r',B,'l') - function [uu, uv, vv, vu] = interface_coupling(schm_u,bound_u,schm_v,bound_v) - [uu,uv] = schm_u.interface(bound_u,schm_v,bound_v); - [vv,vu] = schm_v.interface(bound_v,schm_u,bound_u); - end - end -end \ No newline at end of file +end
diff -r 8d73fcdb07a5 -r 5afc774fb7c4 +scheme/Scheme.m --- a/+scheme/Scheme.m Tue Jan 22 16:47:34 2019 +0100 +++ b/+scheme/Scheme.m Tue Jan 22 16:50:50 2019 +0100 @@ -37,14 +37,4 @@ % Returns the number of degrees of freedom. N = size(obj) end - - methods(Static) - % Calculates the matrcis need for the inteface coupling between - % boundary bound_u of scheme schm_u and bound_v of scheme schm_v. - % [uu, uv, vv, vu] = inteface_coupling(A,'r',B,'l') - function [uu, uv, vv, vu] = interface_coupling(schm_u,bound_u,schm_v,bound_v) - [uu,uv] = schm_u.interface(bound_u,schm_v,bound_v); - [vv,vu] = schm_v.interface(bound_v,schm_u,bound_u); - end - end end
diff -r 8d73fcdb07a5 -r 5afc774fb7c4 +scheme/Schrodinger.m --- a/+scheme/Schrodinger.m Tue Jan 22 16:47:34 2019 +0100 +++ b/+scheme/Schrodinger.m Tue Jan 22 16:50:50 2019 +0100 @@ -161,14 +161,4 @@ end end - - methods(Static) - % Calculates the matrcis need for the inteface coupling between boundary bound_u of scheme schm_u - % and bound_v of scheme schm_v. - % [uu, uv, vv, vu] = inteface_couplong(A,'r',B,'l') - function [uu, uv, vv, vu] = interface_coupling(schm_u,bound_u,schm_v,bound_v) - [uu,uv] = schm_u.interface(bound_u,schm_v,bound_v); - [vv,vu] = schm_v.interface(bound_v,schm_u,bound_u); - end - end -end \ No newline at end of file +end
diff -r 8d73fcdb07a5 -r 5afc774fb7c4 +scheme/Utux.m --- a/+scheme/Utux.m Tue Jan 22 16:47:34 2019 +0100 +++ b/+scheme/Utux.m Tue Jan 22 16:50:50 2019 +0100 @@ -101,14 +101,4 @@ end end - - methods(Static) - % Calculates the matrices needed for the inteface coupling between boundary bound_u of scheme schm_u - % and bound_v of scheme schm_v. - % [uu, uv, vv, vu] = inteface_coupling(A,'r',B,'l') - function [uu, uv, vv, vu] = interface_coupling(schm_u,bound_u,schm_v,bound_v) - [uu,uv] = schm_u.interface(bound_u,schm_v,bound_v); - [vv,vu] = schm_v.interface(bound_v,schm_u,bound_u); - end - end -end \ No newline at end of file +end
diff -r 8d73fcdb07a5 -r 5afc774fb7c4 +scheme/Utux2d.m --- a/+scheme/Utux2d.m Tue Jan 22 16:47:34 2019 +0100 +++ b/+scheme/Utux2d.m Tue Jan 22 16:50:50 2019 +0100 @@ -325,14 +325,4 @@ end end - - methods(Static) - % Calculates the matrices needed for the inteface coupling between boundary bound_u of scheme schm_u - % and bound_v of scheme schm_v. - % [uu, uv, vv, vu] = inteface_coupling(A,'r',B,'l') - function [uu, uv, vv, vu] = interface_coupling(schm_u,bound_u,schm_v,bound_v) - [uu,uv] = schm_u.interface(bound_u,schm_v,bound_v); - [vv,vu] = schm_v.interface(bound_v,schm_u,bound_u); - end - end -end \ No newline at end of file +end
diff -r 8d73fcdb07a5 -r 5afc774fb7c4 +scheme/Wave2d.m --- a/+scheme/Wave2d.m Tue Jan 22 16:47:34 2019 +0100 +++ b/+scheme/Wave2d.m Tue Jan 22 16:50:50 2019 +0100 @@ -304,14 +304,4 @@ end end - - methods(Static) - % Calculates the matrcis need for the inteface coupling between boundary bound_u of scheme schm_u - % and bound_v of scheme schm_v. - % [uu, uv, vv, vu] = inteface_couplong(A,'r',B,'l') - function [uu, uv, vv, vu] = interface_coupling(schm_u,bound_u,schm_v,bound_v) - [uu,uv] = schm_u.interface(bound_u,schm_v,bound_v); - [vv,vu] = schm_v.interface(bound_v,schm_u,bound_u); - end - end -end \ No newline at end of file +end