Skip to content

Commit

Permalink
give CBRT_2 its own name
Browse files Browse the repository at this point in the history
Co-authored-by: Eric T. Johnson <[email protected]>
  • Loading branch information
zhichen3 and yut23 authored Jun 20, 2024
1 parent a5fa160 commit c86a060
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion screening/screen.H
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,8 @@ void chabrier1998 (const plasma_state_t& state,
if (screening_rp::enable_chabrier1998_quantum_corr) {
// See Wallace1982, Eq. A13

amrex::Real Gamma_eff = 1.25992104989_rt * scn_fac.z1 * scn_fac.z2 *
constexpr amrex::Real CBRT_2 = gcem::pow(2.0_rt, 1.0_rt/3.0_rt);
amrex::Real Gamma_eff = CBRT_2 * scn_fac.z1 * scn_fac.z2 *
scn_fac.zs13inv * Gamma_e;
[[maybe_unused]] amrex::Real Gamma_eff_dT;

Expand Down

0 comments on commit c86a060

Please sign in to comment.