Skip to content

Commit

Permalink
error in multiplying by c
Browse files Browse the repository at this point in the history
  • Loading branch information
EyaDammak committed Jan 10, 2025
1 parent eb2c4fe commit 48cf650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/particles/plasma/PlasmaParticleContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This file is part of HiPACE++.
*
* Authors: AlexanderSinn, Andrew Myers, MaxThevenet, Severin Diederichs
* Weiqun Zhang, Angel Ferran Pousa
* Weiqun Zhang, Angel Ferran Pousa, EyaDammak
* License: BSD-3-Clause-LBNL
*/
#include "Hipace.H"
Expand Down Expand Up @@ -589,7 +589,7 @@ LaserIonization (const int islice,
u[2] = amrex::abs(A*A) / 2.;
}

u = u * clightsq;
u = u * phys_const.c;

amrex::Real p = 1._rt - std::exp( - w_dtau_ac );

Expand Down

0 comments on commit 48cf650

Please sign in to comment.