Mercurial > repos > public > sbplib
diff +sbp/D1Upwind.m @ 334:46462a6f8a5f feature/beams
Merge with default.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 18 Oct 2016 17:26:02 +0200 |
parents | f39f98b59f61 |
children | e1d11b6a68d8 feebfca90080 |
line wrap: on
line diff
--- a/+sbp/D1Upwind.m Tue Oct 04 11:43:35 2016 +0200 +++ b/+sbp/D1Upwind.m Tue Oct 18 17:26:02 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;