ScalarDepositorMore flexible way of depositing charge from charged particles in a
simulation into depFields than the classical way of depositing
charge into the zeroth component of a SumRhoJ field.
Note
The ScalarDepositor should not be used in a MultiField
block of kind = emMultiField, or errors will occur in the simulation.
Note
Higher order particles are incompatible with the polar/cylindrical axis. If particles in the simulation pass near the polar/cylindrical coordinate axis at r = 0, only areaWeightingCP or esirk1stOrderCP can be used.
kind (string, default = areaWeighting)Kind of deposition algorithm; choices are:
areaWeightingesirk1stOrderesirk2ndOrder, …, esirk7thOrderareaWeightingCP (for coordProdGrid)esirk1stOrderCP (for coordProdGrid)esirk2ndOrderCP, …, esirk7thOrderCP (for coordProdGrid)depField (string)Scalar defined in the MultiField block that will contain the deposited charge.
Note
When using higher order deposition (esirk2ndOrder,
…, esirk7thOrder), maxIntDepHalfWidth must be set
accordingly in the Grid block
(see Additional Attributes for Particle Simulations).
<ScalarDepositor chargeDep>
kind = areaWeighting
depField = myEmField.rho
</ScalarDepositor>
<Species electrons>
kind = relBorisDF
chargeDeps = [chargeDep]
.
.
.
</Species>