Mercurial > repos > public > sbplib
diff +sbp/D1Upwind.m @ 261:6009f2712d13 operator_remake
Moved and renamned all implementations.
author | Martin Almquist <martin.almquist@it.uu.se> |
---|---|
date | Thu, 08 Sep 2016 15:35:45 +0200 |
parents | 07fa0d6a05bb |
children | 23051a86faa4 |
line wrap: on
line diff
--- a/+sbp/D1Upwind.m Thu Sep 08 14:36:06 2016 +0200 +++ b/+sbp/D1Upwind.m Thu Sep 08 15:35:45 2016 +0200 @@ -13,21 +13,29 @@ switch order case 2 - [H, HI, Dp, Dm, e_1, e_m] = sbp.upwind2(m,h); + [H, HI, Dp, Dm, e_1, e_m] = ... + sbp.implementations.d1_upwind_2(m,h); case 3 - [H, HI, Dp, Dm, e_1, e_m] = sbp.upwind3(m,h); + [H, HI, Dp, Dm, e_1, e_m] = ... + sbp.implementations.d1_upwind_3(m,h); case 4 - [H, HI, Dp, Dm, e_1, e_m] = sbp.upwind4(m,h); + [H, HI, Dp, Dm, e_1, e_m] = ... + sbp.implementations.d1_upwind_4(m,h); case 5 - [H, HI, Dp, Dm, e_1, e_m] = sbp.upwind5(m,h); + [H, HI, Dp, Dm, e_1, e_m] = ... + sbp.implementations.d1_upwind_5(m,h); case 6 - [H, HI, Dp, Dm, e_1, e_m] = sbp.upwind6(m,h); + [H, HI, Dp, Dm, e_1, e_m] = ... + sbp.implementations.d1_upwind_6(m,h); case 7 - [H, HI, Dp, Dm, e_1, e_m] = sbp.upwind7(m,h); + [H, HI, Dp, Dm, e_1, e_m] = ... + sbp.implementations.d1_upwind_7(m,h); case 8 - [H, HI, Dp, Dm, e_1, e_m] = sbp.upwind8(m,h); + [H, HI, Dp, Dm, e_1, e_m] = ... + sbp.implementations.d1_upwind_8(m,h); case 9 - [H, HI, Dp, Dm, e_1, e_m] = sbp.upwind9(m,h); + [H, HI, Dp, Dm, e_1, e_m] = ... + sbp.implementations.d1_upwind_9(m,h); otherwise error('Invalid operator order %d.',order); end