Mercurial > repos > public > sbplib
diff +sbp/D4Compatible.m @ 886:8894e9c49e40 feature/timesteppers
Merge with default for latest changes
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 15 Nov 2018 16:36:21 -0800 |
parents | e1d11b6a68d8 |
children |
line wrap: on
line diff
--- a/+sbp/D4Compatible.m Mon Sep 10 16:19:16 2018 +0200 +++ b/+sbp/D4Compatible.m Thu Nov 15 16:36:21 2018 -0800 @@ -28,8 +28,8 @@ methods function obj = D4Compatible(m,lim,order) - - + + x_l = lim{1}; x_r = lim{2}; L = x_r-x_l; @@ -68,6 +68,10 @@ end + + function str = string(obj) + str = [class(obj) '_' num2str(obj.order)]; + end end