diff options
author | 2019-09-17 11:27:34 +0200 | |
---|---|---|
committer | 2019-09-17 11:27:34 +0200 | |
commit | 34164a8e1a2e32e08e8b38d04d2aade3e4811a6c (patch) | |
tree | b12aefce1ffb843dffe774df13ebef34efaff1d1 /Source | |
parent | b8c997ac6c1bb0c5301cda29e2592d0b404850e8 (diff) | |
download | WarpX-34164a8e1a2e32e08e8b38d04d2aade3e4811a6c.tar.gz WarpX-34164a8e1a2e32e08e8b38d04d2aade3e4811a6c.tar.zst WarpX-34164a8e1a2e32e08e8b38d04d2aade3e4811a6c.zip |
bugfixing
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Particles/Pusher/UpdateMomentumBorisWithRadiationReaction.H | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Particles/Pusher/UpdateMomentumBorisWithRadiationReaction.H b/Source/Particles/Pusher/UpdateMomentumBorisWithRadiationReaction.H index 689619ec6..dd7c41a94 100644 --- a/Source/Particles/Pusher/UpdateMomentumBorisWithRadiationReaction.H +++ b/Source/Particles/Pusher/UpdateMomentumBorisWithRadiationReaction.H @@ -58,8 +58,7 @@ void UpdateMomentumBorisWithRadiationReaction( //Radiation reaction constant const amrex::Real RRcoeff = - 2.0*std::pow(PhysConst::q_e,4)/ - (3.0*std::pow(PhysConst::m_e,2)*std::pow(PhysConst::c,5)) ; //CHECK CAREFULLY! + 2.0*std::pow(q,4)/(3.0*std::pow(m,2)*std::pow(PhysConst::c,5)) ; //CHECK CAREFULLY! //Compute the components of the RR force const amrex::Real frx = |