Mercurial > repos > public > sbplib
diff +sbp/D4Compatible.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/D4Compatible.m Tue Sep 11 13:24:08 2018 +0200 +++ b/+sbp/D4Compatible.m Tue Sep 11 15:58:35 2018 +0200 @@ -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