From 2b5f3f0edd2591c82342a8192e708dc457a444dd Mon Sep 17 00:00:00 2001 From: Zhi Date: Sun, 19 Nov 2023 21:30:56 -0500 Subject: [PATCH] update --- Exec/science/Detonation/problem_initialize.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Exec/science/Detonation/problem_initialize.H b/Exec/science/Detonation/problem_initialize.H index 19c11f4e0c..e998e52c71 100644 --- a/Exec/science/Detonation/problem_initialize.H +++ b/Exec/science/Detonation/problem_initialize.H @@ -58,7 +58,7 @@ void problem_initialize () problem::xn[problem::ihe4] = 1.0_rt - problem::cfrac - problem::nfrac - problem::ofrac - (NumSpec - 3) * problem::smallx; } else { - problem::xn[problem::ihe4] = 1.0_rt - problem::cfrac - problem::nfrac - problem::ofrac - (NumSpec - 3) * problem::smallx; + problem::xn[problem::ihe4] = 1.0_rt - problem::cfrac - problem::ofrac - (NumSpec - 2) * problem::smallx; } // Set the ambient material