Skip to content

Commit

Permalink
initialize ye, mu's for NSE_NET in burn_cell_sdc (#1325)
Browse files Browse the repository at this point in the history
this fixes some valgrind issues
  • Loading branch information
zingale authored Sep 10, 2023
1 parent c24487b commit 743d388
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 743d388

Please sign in to comment.