changeset 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 25d0efdb0f75
children 5afc774fb7c4 77676c26056d
files +scheme/Laplace1d.m +scheme/Scheme.m +scheme/Schrodinger.m +scheme/Utux.m +scheme/Utux2d.m +scheme/Wave2d.m
diffstat 6 files changed, 5 insertions(+), 65 deletions(-) [+]
line wrap: on
line diff
--- a/+scheme/Laplace1d.m	Tue Jan 22 10:46:29 2019 +0100
+++ b/+scheme/Laplace1d.m	Tue Jan 22 16:50:05 2019 +0100
@@ -133,14 +133,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
--- a/+scheme/Scheme.m	Tue Jan 22 10:46:29 2019 +0100
+++ b/+scheme/Scheme.m	Tue Jan 22 16:50:05 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
--- a/+scheme/Schrodinger.m	Tue Jan 22 10:46:29 2019 +0100
+++ b/+scheme/Schrodinger.m	Tue Jan 22 16:50:05 2019 +0100
@@ -128,14 +128,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
--- a/+scheme/Utux.m	Tue Jan 22 10:46:29 2019 +0100
+++ b/+scheme/Utux.m	Tue Jan 22 16:50:05 2019 +0100
@@ -77,14 +77,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
--- a/+scheme/Utux2d.m	Tue Jan 22 10:46:29 2019 +0100
+++ b/+scheme/Utux2d.m	Tue Jan 22 16:50:05 2019 +0100
@@ -295,14 +295,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
--- a/+scheme/Wave2d.m	Tue Jan 22 10:46:29 2019 +0100
+++ b/+scheme/Wave2d.m	Tue Jan 22 16:50:05 2019 +0100
@@ -221,14 +221,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