From 897bb41c5aa7e5839aa96e4a43552a0577381d94 Mon Sep 17 00:00:00 2001 From: Dave Montgomery Date: Mon, 21 Oct 2024 16:38:56 -0600 Subject: [PATCH] Update PeleLMeX_ProblemSpecificFunctions.cpp --- Source/PeleLMeX_ProblemSpecificFunctions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/PeleLMeX_ProblemSpecificFunctions.cpp b/Source/PeleLMeX_ProblemSpecificFunctions.cpp index e228a088..8c6cd905 100644 --- a/Source/PeleLMeX_ProblemSpecificFunctions.cpp +++ b/Source/PeleLMeX_ProblemSpecificFunctions.cpp @@ -50,9 +50,9 @@ problem_modify_ext_sources( for (int n = 0; n < NUM_ODE; n++) { Real B_n = state_old_arr[box_no](i, j, k, FIRSTODE + n); Real src_strength = -1.0 * pow(10.0,n+1); - ext_source_arr[box_no](i, j, k, FIRSTODE + n) += src; + ext_source_arr[box_no](i, j, k, FIRSTODE + n) += src_strength * B_n; } }); Gpu::streamSynchronize(); */ -} \ No newline at end of file +}