Mercurial > repos > public > sbplib
changeset 259:a94bb3d92aba operator_remake
Added empty borrowing property to nonequidstant class.
author | Martin Almquist <martin.almquist@it.uu.se> |
---|---|
date | Thu, 08 Sep 2016 13:44:13 +0200 |
parents | a8d89688ba01 |
children | b4116ce49ac4 |
files | +sbp/D1Nonequidistant.m |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
diff -r a8d89688ba01 -r a94bb3d92aba +sbp/D1Nonequidistant.m --- a/+sbp/D1Nonequidistant.m Thu Sep 08 13:28:35 2016 +0200 +++ b/+sbp/D1Nonequidistant.m Thu Sep 08 13:44:13 2016 +0200 @@ -9,6 +9,7 @@ m % Number of grid points. h % Step size x % grid + borrowing % Struct with borrowing limits for different norm matrices end methods @@ -17,7 +18,7 @@ default_arg('option','Accurate'); % 'Accurate' operators are optimized for accuracy % 'Minimal' operators have the smallest possible boundary - % closure + % closure switch option @@ -63,6 +64,8 @@ obj.HI = inv(obj.H); obj.Q = obj.H*obj.D1 - obj.e_m*obj.e_m' + obj.e_0*obj.e_0'; + obj.borrowing = []; + end end