Skip to content

Commit

Permalink
fix typo for r_e instead of re
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Dec 2, 2023
1 parent 5a9c710 commit b416c22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void UpdateMomentumBorisWithRadiationReaction(
//const amrex::ParticleReal RRcoeff = (2.0_prt/3.0_prt)*PhysConst::r_e*re_scaledratio*q_over_mc*q_over_mc;
// Since we re-write FRR as f(re*re), the coefficient is 2/3*4*pi*eps * re*re/m
// The division by m is because in WarpX, we update u = gamma*v
const amrex::ParticleReal re2 = PhysConst::re * PhysConst::re;
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;
#else
Expand Down

0 comments on commit b416c22

Please sign in to comment.