From 200e5ea9c8c4c4e12e312c64c1717cf0383bb573 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Sun, 10 Sep 2023 10:06:37 -0400 Subject: [PATCH] initialize ye, mu's for NSE_NET in burn_cell_sdc --- unit_test/burn_cell_sdc/_parameters | 2 ++ unit_test/burn_cell_sdc/burn_cell.H | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/unit_test/burn_cell_sdc/_parameters b/unit_test/burn_cell_sdc/_parameters index 7d0a23f6f9..3343cff5f7 100644 --- a/unit_test/burn_cell_sdc/_parameters +++ b/unit_test/burn_cell_sdc/_parameters @@ -69,3 +69,5 @@ Adv_Aux3 real 0.0e0 +mu_p real -5.0 +mu_n real -12.0 diff --git a/unit_test/burn_cell_sdc/burn_cell.H b/unit_test/burn_cell_sdc/burn_cell.H index 78705a9bdd..c83752ecfa 100644 --- a/unit_test/burn_cell_sdc/burn_cell.H +++ b/unit_test/burn_cell_sdc/burn_cell.H @@ -293,6 +293,12 @@ void burn_cell_c() burn_state.T_fixed = -1.0; +#ifdef NSE_NET + burn_state.mu_p = unit_test_rp::mu_p; + burn_state.mu_n = unit_test_rp::mu_n; + burn_state.y_e = -1.0; +#endif + std::ofstream state_over_time("state_over_time.txt"); // we will divide the total integration time into nsteps that are