Mercurial > repos > public > sbplib
diff +sbp/D1Upwind.m @ 353:fd4f1c80755d feature/hypsyst
meged with default
author | Ylva Rydin <ylva.rydin@telia.com> |
---|---|
date | Thu, 10 Nov 2016 20:49:25 +0100 |
parents | f39f98b59f61 |
children | e1d11b6a68d8 feebfca90080 |
line wrap: on
line diff
--- a/+sbp/D1Upwind.m Thu Nov 10 20:47:40 2016 +0100 +++ b/+sbp/D1Upwind.m Thu Nov 10 20:49:25 2016 +0100 @@ -1,9 +1,8 @@ classdef D1Upwind < sbp.OpSet properties - D1 % SBP operator approximating first derivative + Dp, Dm % SBP operator approximating first derivative H % Norm matrix HI % H^-1 - Q % Skew-symmetric matrix e_l % Left boundary operator e_r % Right boundary operator m % Number of grid points. @@ -14,7 +13,7 @@ methods function obj = D1Upwind(m,lim,order) - + x_l = lim{1}; x_r = lim{2}; L = x_r-x_l;