Species information
Description
Use this block one can specify particle species with density, weight, etc.
Options
name
: String of species name. should be uniqueparticle_per_cell
: Integer of the macro-particle number per cellnparticles
: Integer of the particles in the simulation boxdensity
: a string of the density function, this is a exprtk expressionmomentum
: List of central momentu of current speciesmass
: Float of current species masscharge
: Float of current species chargespin
: List of spine1
: List of photon polarization basis,is_photon
: Boolean of current species is photonis_emission
: Boolean of current species can emission photonis_electron
: Boolean of current species is electron, i.e., to store nbw electron of pairis_positron
: Boolean of current species is positron, i.e., to store nbw positron of pairrequireCell
: whether this species require to be group into cells, this is a required process for binary collision processes.
Parameter | Value Type | Description |
---|---|---|
name | String | A string that specifies the name of the species. |
particle_per_cell | Integer | An integer that specifies the number of macro-particles per cell for the species. |
nparticles | Integer | An integer that specifies the total number of particles for the species. |
density | String | A string that specifies the density function for the species. This is an exprtk expression. |
momentum | List of Floats | A list of floats that specifies the central momenta of the species. |
mass | Float | A float that specifies the mass of the species. |
charge | Float | A float that specifies the charge of the species. |
spin | List of Floats | A list of floats that specifies the spin of the species. |
e1 | List of Floats | A list of floats that specifies the photon polarization basis for the species. |
is_photon | Boolean | A boolean that specifies whether the species is a photon. |
is_emission | Boolean | A boolean that specifies whether the species can emit photons. |
is_electron | Boolean | A boolean that specifies whether the species is an electron. |
is_positron | Boolean | A boolean that specifies whether the species is a positron. |
requireCell | Boolean | A boolean that specifies whether the species requires to be grouped into cells. This is a required process for binary collision processes. |
template
[[speciesInfo]]
name = "electron"
particle_per_cell = 1
nparticles = 0
density = "density := 1.0 + 0.1 * cos(x)"
momentum = [-1.0, 0.0, 0.0]
mass = 1.0
charge = -1.0
spin = [0.0, 0.0, 0.0]
e1 = [0.0, 0.0, 0.0]
is_photon = false
is_emission = false
is_electron = false
is_positron = false
requireCell = true