diff options
Diffstat (limited to 'Exec/Langmuir/ParticleProb.cpp')
-rw-r--r-- | Exec/Langmuir/ParticleProb.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Exec/Langmuir/ParticleProb.cpp b/Exec/Langmuir/ParticleProb.cpp index 7d78912f1..01d0f43d8 100644 --- a/Exec/Langmuir/ParticleProb.cpp +++ b/Exec/Langmuir/ParticleProb.cpp @@ -57,10 +57,9 @@ MyParticleContainer::InitData() pp.query("uy", uy); pp.query("uz", uz); - Real gamma = 1./std::sqrt(1.0 - ux*ux - uy*uy - uz*uz); - ux *= PhysConst::c*gamma; - uy *= PhysConst::c*gamma; - uz *= PhysConst::c*gamma; + ux *= PhysConst::c; + uy *= PhysConst::c; + uz *= PhysConst::c; } const BoxArray& ba = m_gdb->ParticleBoxArray(lev); |