Skip to content

Commit

Permalink
initialize ye, mu's for NSE_NET in burn_cell_sdc
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Sep 10, 2023
1 parent bb8d2a2 commit 200e5ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unit_test/burn_cell_sdc/_parameters
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ Adv_Aux3 real 0.0e0



mu_p real -5.0
mu_n real -12.0
6 changes: 6 additions & 0 deletions unit_test/burn_cell_sdc/burn_cell.H
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 200e5ea

Please sign in to comment.