Skip to content

Commit

Permalink
fix PhyConst to PhysConst
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Dec 2, 2023
1 parent b416c22 commit a17c62e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void UpdateMomentumBorisWithRadiationReaction(
// The division by m is because in WarpX, we update u = gamma*v
const amrex::ParticleReal re2 = PhysConst::r_e * PhysConst::r_e;
const amrex::ParticleReal re2_scaled = re2 * re_scaledratio * re_scaledratio;
const amrex::ParticleReal RRcoeff = (2.0_prt/3.0_prt)*4 * MathConst::pi * PhyConst::ep0 * re2_scaled/m;
const amrex::ParticleReal RRcoeff = (2.0_prt/3.0_prt)*4 * MathConst::pi * PhysConst::ep0 * re2_scaled/m;
#else
const amrex::ParticleReal RRcoeff = (2.0_prt/3.0_prt)*PhysConst::r_e*q_over_mc*q_over_mc;
#endif
Expand Down

0 comments on commit a17c62e

Please sign in to comment.