- boostLoader
boostLoader¶
A loader specifically designed to load particles in a boosted frame simulation from a laboratory frame distribution. The boostLoader reproduces some of the functionality of xvLoaderEmitter. It creates particles by density-loading in a volume, but is not capable of flux-emitting from a surface. In a boosted frame simulation the reference frame of the simulation is moving with a Lorentz factor gamma_boost relative to the laboratory (rest) frame. This loader allows the user to specify the properties of an electron beam in the laboratory frame, which are then internally Lorentz transformed in the moving frame of the simulation. When gamma_{boost} is set to 1, the boostLoader loads beam particles identically to xvLoaderEmitter.
This particle source is available with any VSimPA license.
boostLoader Sub-Blocks¶
- PositionGenerator
PositionGenerator (block) Is used to generate physical positions of particles when they are loaded. The loadSlab must be specified in the moving frame of the simulation (The loadSlab specify the region where the particles are loaded in the frame of the simulation).
- VelocityGenerator
VelocityGenerator (block) Is used to generate velocities of a particle when loaded. All velocities, including particle weight as a function of (x,y,z,t) must be specified in the laboratory frame. Particle positions and velocities are transformed internally in the moving frame of the simulation.
boostLoader Parameters¶
- applyTimes
Interval over which particles are created.
- gammaBoost
Lorentz factor of the moving frame of the simulation.
- loadOnShift (string, default = false)
A string,
true
orfalse
, used in shifting window simulations to insure that particles are loaded into the new cells added when the simulation shifts.loadOnShift
should be set to true if a moving window is used in the simulation. If true, then must also haveload = true
.
- loadAfterInit (string, default = false)
Used to continue loading particles after the initialization, for example a continuous bulk source ionization.
loadAfterInit
should be set to true only if more particles should be loaded into theloadSlab
with each time step. If true, then must also haveload = true
.