gaussSource

gaussSource

This particle source loads particles distributed according to a Gaussian probability in all variables, including spatial. The number of particles specified may not be what is obtained, as the random number generation process will only get close to the right number on each processor.

This particle source is available with all VSim licenses.

gaussSource Parameters

numPtcls (integer)

The number of particles in the Gaussian beam.

xbar (double vector)

Average x, y, and z positions of the particles.

xsig (double vector)

Sigma spread in the x, y, and z directions.

vbar (double vector)

Average velocity of the particles in the x, y, and z directions.

vsig (double vector)

Positive value denoting the thermal velocity in the x, y, and z directions.

GaussSource example block

<ParticleSource myGaussSource>
  kind = gaussSource
  numPtcls = 100
  xbar = [0.0 0.0 0.0]
  xsig = [LX_SIG LY_SIG LZ_SIG]
  vbar = [VBAR 0.0 0.0 1.0]
  vsig = [VTH VTH VTH 0.0]
</ParticleSource>