Mercurial > repos > public > sbplib
diff +sbp/D4Variable.m @ 330:25b01643e438 feature/beams
Added a string method to OpSet.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 29 Sep 2016 12:56:37 +0200 |
parents | 31d6698c1edf |
children | 42c89b5eedc0 |
line wrap: on
line diff
--- a/+sbp/D4Variable.m Wed Sep 28 16:31:06 2016 +0200 +++ b/+sbp/D4Variable.m Thu Sep 29 12:56:37 2016 +0200 @@ -16,6 +16,7 @@ d2_l, d2_r % Left and right boundary second derivative d3_l, d3_r % Left and right boundary third derivative borrowing % Struct with borrowing limits for different norm matrices + order end methods @@ -46,6 +47,7 @@ end obj.m = m; + obj.order = order; obj.H = H; obj.HI = HI; @@ -62,5 +64,9 @@ obj.d3_l = d3_l; obj.d3_r = d3_r; end + + function str = string(obj) + str = [class(obj) '_' num2str(obj.order)]; + end end end \ No newline at end of file