Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initialize ye, mu's for NSE_NET in burn_cell_sdc #1325

Merged
merged 2 commits into from
Sep 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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