You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
! Note: Unlike TENO5, TENO7 stencils differ from the WENO7 stencils. TENO7 stencils are explained below:
832
-
! First, consider the right-sided flux (at i+1/2) computed in the subsequent section.
833
-
! Then, by drawing the stencils following Fig 2 (right) (Fu, et al., 2016) and writing each coefficient beside each stencil point,
834
-
! we can flip everything with respect to the x=i point. This allows the formulas to work for the left-sided flux (at i-1/2), which is what we want here.
835
-
! However, the stencils must follow the same order as the right-sided flux (k=0: i-1to i+1; k=1: i to i+2; k=2: i-1to i; k=3: i to i+3, k=4: i-3to i).
836
-
! By remapping the coefficients to these stencils, we obtain the correct polynomial coefficients for the left-sided flux:
831
+
! Note: Unlike TENO5, TENO7 stencils differ from WENO7 stencils.
832
+
! See Figure 2 (right) in Fu et al. (2016).
833
+
! Flip the weights with respect to the x=i point, but keep the stencil order to obtain left-sided flux (at i-1/2).
834
+
! It is easier to first consider the right-sided flux (at i+1/2) later in the code.
0 commit comments