diff +sbp/D4Standard.m @ 832:5573913a0949 feature/burgers1d

Merged with default, and updated +scheme/Burgers1D accordingly
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 11 Sep 2018 15:58:35 +0200
parents e1d11b6a68d8
children
line wrap: on
line diff
--- a/+sbp/D4Standard.m	Tue Sep 11 13:24:08 2018 +0200
+++ b/+sbp/D4Standard.m	Tue Sep 11 15:58:35 2018 +0200
@@ -28,7 +28,7 @@
 
     methods
         function obj = D4Standard(m,lim,order)
-            
+
             x_l = lim{1};
             x_r = lim{2};
             L = x_r-x_l;
@@ -56,6 +56,10 @@
             obj.m = m;
 
         end
+
+        function str = string(obj)
+            str = [class(obj) '_' num2str(obj.order)];
+        end
     end