- fieldScaleVelGen
fieldScaleVelGen¶
Special velocity generator only for use with
relBorisVWScale
particles. The velocity generator correctly sets the tags for the particles as well as creating several particles at each location each with a different scale parameter that scales the electromagnetic fields the particle experience.
fieldScaleVelGen Parameters¶
- fieldScaleEndPoints (float vector)
The start and end point for the scaling parameters. This must be used with fieldScaleIncrement.
- fieldScaleIncrement (float)
The spacing between scaling parameters. This must be used with fieldScaleEndPoints.
- fieldScaleValues (float vector)
Explicit values for the scaling parameters.
fieldScaleVelGen Example Block¶
<VelocityGenerator velGen>
kind = fieldScaleVelGen
# The field scale parameters set as a vector of values
fieldScaleValues = [0.2 0.4 0.6]
</VelocityGenerator>