Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Oct 7, 2024
1 parent 78b12f4 commit e12e65b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/hydro/trace_ppm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,17 +248,17 @@ Castro::trace_ppm(const Box& bx,

if (in_hse && castro::ppm_well_balanced) {
// we are working with the perturbational pressure
ppm_int_profile(sm, sp, 0.0_rt, un, cc, dtdx, Ip_p, Im_p);
ppm_int_profile(sm, sp, 0.0_rt, un, cc, dtdL, Ip_p, Im_p);
p_m_hse = s[i0] - 0.5_rt * dx[idir] * trho[i0] * src[i0];
p_p_hse = s[i0] + 0.5_rt * dx[idir] * trho[i0] * src[i0];

} else {
ppm_int_profile(sm, sp, s[i0], un, cc, dtdx, Ip_p, Im_p);
ppm_int_profile(sm, sp, s[i0], un, cc, dtdL, Ip_p, Im_p);
}

} else {
ppm_reconstruct(s, flat, sm, sp);
ppm_int_profile(sm, sp, s[i0], un, cc, dtdx, Ip_p, Im_p);
ppm_int_profile(sm, sp, s[i0], un, cc, dtdL, Ip_p, Im_p);
}

// reconstruct rho e
Expand Down

0 comments on commit e12e65b

Please sign in to comment.