Skip to content

Commit

Permalink
Remove c12 in sponge of xrb_layered model (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonguichandut authored Jul 22, 2024
1 parent 829c29b commit 82e9506
Show file tree
Hide file tree
Showing 3 changed files with 569 additions and 568 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,10 @@ AMREX_INLINE void init_1d_carbon()
dens_zone = problem_rp::low_density_cutoff;
temp_zone = problem_rp::T_lo;

// if here, assume we're at low column and X is constant
// if here, assume we're at low column and X is constant, and no carbon
xn[ih1] = problem_rp::X0;
xn[ihe4] = 1.0 - problem_rp::X0 - problem_rp::Zcno;
xn[ic12] = 0.0;

} else {

Expand Down
Loading

0 comments on commit 82e9506

Please sign in to comment.