Skip to content

Commit e5353a4

Browse files
committed
fix intensity normalization of tau
1 parent 7f19215 commit e5353a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/picongpu/include/fields/laserProfiles/laserPlaneWave.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ namespace picongpu
5151
* not zero, the integral over the volume will only vanish if the plateau length is
5252
* a multiple of the wavelength.
5353
* 2) Since we define our envelope by a sigma of the laser intensity,
54-
* tau = PULSE_LENGTH / sqrt(2)
54+
* tau = PULSE_LENGTH * sqrt(2)
5555
*/
5656
namespace laserPlaneWave
5757
{
@@ -72,7 +72,7 @@ namespace picongpu
7272
const double mue = 0.5 * RAMP_INIT * PULSE_LENGTH;
7373

7474
const double w = 2.0 * PI * f;
75-
const double tau = PULSE_LENGTH / sqrt( 2.0 );
75+
const double tau = PULSE_LENGTH * sqrt( 2.0 );
7676

7777
const double endUpramp = mue;
7878
const double startDownramp = mue + LASER_NOFOCUS_CONSTANT;

0 commit comments

Comments
 (0)