Mercurial > repos > public > sbplib
diff +sbp/D1Upwind.m @ 302:f39f98b59f61
Fixes in Upwind operators and Euler1D scheme.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 29 Sep 2016 16:27:33 +0200 |
parents | 4b9310edcdf8 |
children | e1d11b6a68d8 feebfca90080 |
line wrap: on
line diff
--- a/+sbp/D1Upwind.m Mon Sep 12 15:18:25 2016 +0200 +++ b/+sbp/D1Upwind.m Thu Sep 29 16:27:33 2016 +0200 @@ -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;