changeset 260:b4116ce49ac4 operator_remake

Removed incomplete periodic class.
author Martin Almquist <martin.almquist@it.uu.se>
date Thu, 08 Sep 2016 14:36:06 +0200
parents a94bb3d92aba
children 6009f2712d13
files +sbp/D4Periodic.m
diffstat 1 files changed, 0 insertions(+), 65 deletions(-) [+]
line wrap: on
line diff
--- a/+sbp/D4Periodic.m	Thu Sep 08 13:44:13 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-classdef D4Periodic < sbp.OpSet
-    properties
-        norms % Struct containing norm matrices such as H,Q, M
-        boundary  % Struct contanging vectors for boundry point approximations
-        derivatives % Struct containging differentiation operators
-        borrowing % Struct with borrowing limits for different norm matrices
-        m % Number of grid points.
-        h % Step size
-    end
-
-
-
-    methods
-        function obj = D4Periodic(m,h,order)
-
-            if order == 2
-                [H, HI, D1, D4, e_1, e_m, M4, Q, S2_1, S2_m, S3_1, S3_m, S_1, S_m] = sbp.higher2_compatible(m,h);
-                obj.borrowing.N.S2 = 0.7500;
-                obj.borrowing.N.S3 = 0.3000;
-            elseif order == 4
-
-                [H, HI, D1, D4, e_1, e_m, M4, Q, S2_1, S2_m, S3_1, S3_m, S_1, S_m] = sbp.higher4_compatible(m,h);
-                obj.borrowing.N.S2 = 0.4210;
-                obj.borrowing.N.S3 = 0.7080;
-            elseif order == 6
-                [H, HI, D1, D4, e_1, e_m, M4, Q, S2_1, S2_m, S3_1, S3_m, S_1, S_m] = sbp.higher6_compatible(m,h);
-                obj.borrowing.N.S2 = 0.06925;
-                obj.borrowing.N.S3 = 0.05128;
-            else
-                error('Invalid operator order.');
-            end
-
-            obj.h = h;
-            obj.m = m;
-
-            obj.norms.H = H;
-            obj.norms.HI = HI;
-            obj.norms.Q = Q;
-            obj.norms.N = M4;
-
-            obj.boundary.e_1 = e_1;
-            obj.boundary.S_1 = S_1;
-            obj.boundary.S2_1 = S2_1;
-            obj.boundary.S3_1 = S3_1;
-
-            obj.boundary.e_m = e_m;
-            obj.boundary.S_m = S_m;
-            obj.boundary.S2_m = S2_m;
-            obj.boundary.S3_m = S3_m;
-
-            obj.derivatives.D1 = D1;
-            obj.derivatives.D4 = D4;
-
-        end
-    end
-
-    methods (Static)
-        function lambda = smallestGrid(obj)
-            error('Not implmented')
-        end
-    end
-
-
-
-end
\ No newline at end of file