|
WarpX
|
This functor does perform linear Compton scattering on a single cell. Particles of the two colliding species (a photon species and a electron/positron species) are paired with each other and for each pair we compute if a Compton-scattering event occurs. If so, we fill a mask (input parameter p_mask) with true so that product particles corresponding to a given pair can be effectively created in the particle creation functor. This functor also reads and stores the event multiplier. More...
#include <LinearComptonCollisionFunc.H>
Classes | |
| struct | Executor |
Public Member Functions | |
| LinearComptonCollisionFunc ()=default | |
| Default constructor of the LinearComptonCollisionFunc class. | |
| LinearComptonCollisionFunc (const std::string collision_name, MultiParticleContainer const *const, const bool isSameSpecies) | |
| Constructor of the LinearComptonCollisionFunc class. | |
| Executor const & | executor () const |
| bool | use_global_debye_length () |
Private Types | |
| using | ParticleType = WarpXParticleContainer::ParticleType |
| using | ParticleTileType = WarpXParticleContainer::ParticleTileType |
| using | ParticleTileDataType = ParticleTileType::ParticleTileDataType |
| using | ParticleBins = amrex::DenseBins<ParticleTileDataType> |
| using | index_type = ParticleBins::index_type |
| using | SoaData_type = WarpXParticleContainer::ParticleTileType::ParticleTileDataType |
Private Attributes | |
| amrex::ParticleReal | m_event_multiplier |
| amrex::ParticleReal | m_probability_threshold |
| amrex::ParticleReal | m_probability_target_value |
| bool | m_isSameSpecies |
| Executor | m_exe |
This functor does perform linear Compton scattering on a single cell. Particles of the two colliding species (a photon species and a electron/positron species) are paired with each other and for each pair we compute if a Compton-scattering event occurs. If so, we fill a mask (input parameter p_mask) with true so that product particles corresponding to a given pair can be effectively created in the particle creation functor. This functor also reads and stores the event multiplier.
|
private |
|
private |
|
private |
|
private |
|
private |
|
default |
Default constructor of the LinearComptonCollisionFunc class.
|
inline |
Constructor of the LinearComptonCollisionFunc class.
| [in] | collision_name | the name of the collision |
| [in] | isSameSpecies | whether the two colliding species are the same |
|
inlinenodiscard |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |