This macro file can be imported to an input file with
$ import histories
It is imported by VSim.mac.
This macro file is available to all packages.
This macro file provides macros for all vorpal histories supported in this release. Histories pertain primarily to fields and particles.
addParticleMomentumHistory
(name, speciesName)Add particle history block that records the momentum of a particle species.
Parameters: |
|
---|
addParticleAbsorberLog
(name, absorberName, ptclQty, component)Add particle history block that records a specific quantity about particles absorbed by the given absorber.
Parameters: |
|
---|
addParticleAbsorberCurrentHistory
(name, absorberName)Add particle history block that records the current located at a particle absorber.
Parameters: |
|
---|
addParticleAbsorberEnergyHistory
(name, absorberName)Add particle history block that records the energy of particles located at a particle absorber.
Parameters: |
|
---|
addParticleEmitterCurrentHistory
(name, emitterName)Add particle history block that records the current located at a particle emitter.
Parameters: |
|
---|
addMacroParticleCountHistory
(name, speciesName)Add particle history block that records the number of macro particles in a simulation.
:param name The name of the history block.
:param speciesName The name of the species to be recorded.
addPhysicalParticleCountHistory
(name, speciesName)Add particle history block that records the number of physical particles in a simulation.
:param name The name of the history block.
:param speciesName The name of the species to be recorded.
addParticleEnergyHistory
(name, speciesName)Add particle history block that records energy of a particle species.
Parameters: |
|
---|
addEMFieldEnergyHistory
(name, region)Add field history block that records energy of the EM field. Can specify the entire simulation region or the region inside a user defined shape.
Parameters: |
|
---|
addEMFieldEnergyHistory
(name, lb, ub)Add field history block that records energy of the EM field. Can specify any region in the simulation domain.
Parameters: |
|
---|
addFieldEnergyAtPositionHistory
(name, location, field)Add field history block that records energy of the specified field. Records field energy at specific point in the simulation domain.
Parameters: |
|
---|
addElectricFieldEnergyHistory
(name, simRgn)Add field history block that records energy of the electric field inside the whole simulation domain.
Parameters: |
|
---|
addElectricFieldEnergyHistory
(name, lb, ub)Add field history block that records energy of the electric field. Can specify any region in the simulation domain.
Parameters: |
|
---|
addMagneticFieldEnergyHistory
(name, simRgn)Add field history block that records energy of the magnetic field inside the whole simulation domain.
Parameters: |
|
---|
addMagneticFieldEnergyHistory
(name, lb, ub)Add field history block that records energy of the magnetic field. Can specify any region in the simulation domain.
Parameters: |
|
---|
addPseudoPotentialHistory
(name, refPoint, measPoint)Add history block that calculates the pseudo-potential difference, in volts, between the reference point and the measure point. See the pseudoPotential documentation for details.
Parameters: |
|
---|
addBinaryCombinationHistory
(name, coeff1, coeff2, op, history1, history2)Add history block that performs an element-wise binary operation on two other histories.
Parameters: |
|
---|
addPoyntingHistory
(name, lb, ub)Add history block that records the poynting flux on some plane within the simulation domain.
Parameters: |
|
---|
addFarFieldHistory
(name, timeDelay, duration, numTimePts, kirchRad, numPolarAng, numAzimAng, numLinInts, comp, kirchCenter, field)Add history block that records the far field radiation pattern of an EM source.
Parameters: |
|
---|
addFarFieldBoxHistory
(name, startTime, endTime, lc, uc)This history macro adds a set of histories that save fields on a 2-cell thick box, for use in the Kirchhoff Box Far Field post-processing.
Parameters: |
|
---|