Skip to content

Commit ea21b0d

Browse files
committed
fix teno again
1 parent d11cfc0 commit ea21b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simulation/m_weno.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ contains
940940
alpha = d_cbL_${XYZ}$ (:, j)*(1d0 + (tau/beta)**wenoz_q) ! q = 2,3,4 for stability
941941

942942
elseif (teno) then
943-
tau = abs(beta(3) - beta(0))
943+
tau = abs(beta(4) - beta(3)) ! Note the reordering of stencils
944944
alpha = (1d0 + tau/beta)**6d0
945945
omega = alpha/sum(alpha)
946946
delta = merge(0d0, 1d0, omega < teno_CT)

0 commit comments

Comments
 (0)