Skip to content

Commit

Permalink
Merge branch 'development' of github.com:amrex-astro/Microphysics int…
Browse files Browse the repository at this point in the history
…o development
  • Loading branch information
zingale committed Sep 10, 2023
2 parents a7d5990 + 743d388 commit 3c75538
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/nse_update_simplified_sdc.H
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void sdc_nse_burn(BurnT& state, const Real dt) {
// reaction terms and advection to dt

eos_re_t eos_state;
eos_state.T = 1.e6_rt; // initial guess
eos_state.T = T_in; // initial guess

// initial aux_sources
Real aux_source[NumAux] = {0.0_rt};
Expand Down Expand Up @@ -238,7 +238,7 @@ void sdc_nse_burn(BurnT& state, const Real dt) {
// updates with advection to dt

BurnT burn_state;
burn_state.T = 1.e6_rt; // initial guess
burn_state.T = T_in; // initial guess
burn_state.mu_p = state.mu_p;
burn_state.mu_n = state.mu_n;

Expand Down
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 3c75538

Please sign in to comment.