Mercurial > repos > public > sbplib
diff +sbp/D1Nonequidistant.m @ 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 | 6009f2712d13 |
line wrap: on
line diff
--- 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