From 3b29ec96c9cdcf5479ee1bbf6be627aa8a083dce Mon Sep 17 00:00:00 2001 From: Zhi Date: Wed, 5 Jun 2024 15:12:36 -0400 Subject: [PATCH] multiply by rho to make it correct for AUX --- .../subchandra/problem_initialize_state_data.H | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Exec/science/subchandra/problem_initialize_state_data.H b/Exec/science/subchandra/problem_initialize_state_data.H index 67d743c457..9ba2d207a7 100644 --- a/Exec/science/subchandra/problem_initialize_state_data.H +++ b/Exec/science/subchandra/problem_initialize_state_data.H @@ -59,19 +59,10 @@ void problem_initialize_state_data (int i, int j, int k, set_aux_comp_from_X(burn_state); for (int n = 0; n < NumAux; n++) { - state(i,j,k,UFX+n) = burn_state.aux[n]; + state(i,j,k,UFX+n) = state(i,j,k,URHO) * burn_state.aux[n]; } #endif - - // burn_t burn_state; - - // burn_state.rho = state(i,j,k,URHO); - // burn_state.T = state(i,j,k,UTEMP); - // for (int n = 0; n < NumSpec; n++) { - // burn_state.xn[n] = state(i,j,k,UFS+n); - // } - eos(eos_input_rt, burn_state); state(i,j,k,UEINT) = state(i,j,k,URHO) * burn_state.e;