|
WarpX
|
This functor does binary Bremsstrahlung reactions in a single cell. Particles of the two interacting species are paired with each other and for each pair we compute the energy of the resulting photon if Bremsstrahlung happens. We fill p_mask with true if it happens so that the new photon corresponding to a given pair can be effectively created in the particle creation functor. More...
#include <BremsstrahlungFunc.H>
Classes | |
| struct | Executor |
Public Member Functions | |
| BremsstrahlungFunc ()=default | |
| BremsstrahlungFunc (std::string const &collision_name, MultiParticleContainer const *mypc, bool) | |
| Constructor of the BremsstrahlungFunc 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 Member Functions | |
| void | UploadCrossSection (int Z) |
Private Attributes | |
| Executor | m_exe |
| bool | m_use_global_debye_length = false |
| int | nkoT1 |
| int | nKE |
| amrex::GpuArray< amrex::ParticleReal, 17 > | m_koT1_grid_h = {0., 0.025, 0.05, 0.075, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.95, 0.97, 0.99, 1.00} |
| amrex::GpuArray< amrex::ParticleReal, 11 > | m_KEgrid_eV_h = {1.0e3, 2.0e3, 5.0e3, 1.0e4, 2.0e4, 5.0e4, 1.0e5, 2.0e5, 5.0e5, 1.0e6, 2.0e6} |
| amrex::Vector< amrex::ParticleReal > | m_kdsigdk_h |
| amrex::Vector< amrex::ParticleReal > | m_sigma_total_h |
| amrex::Gpu::DeviceVector< amrex::ParticleReal > | m_koT1_grid_d |
| amrex::Gpu::DeviceVector< amrex::ParticleReal > | m_KEgrid_eV_d |
| amrex::Gpu::DeviceVector< amrex::ParticleReal > | m_kdsigdk_d |
| amrex::Gpu::DeviceVector< amrex::ParticleReal > | m_sigma_total_d |
| std::map< int, std::vector< std::vector< amrex::ParticleReal > > > | m_kdsigdk_map |
This functor does binary Bremsstrahlung reactions in a single cell. Particles of the two interacting species are paired with each other and for each pair we compute the energy of the resulting photon if Bremsstrahlung happens. We fill p_mask with true if it happens so that the new photon corresponding to a given pair can be effectively created in the particle creation functor.
|
private |
|
private |
|
private |
|
private |
|
default |
| BremsstrahlungFunc::BremsstrahlungFunc | ( | std::string const & | collision_name, |
| MultiParticleContainer const * | mypc, | ||
| bool | isSameSpecies ) |
Constructor of the BremsstrahlungFunc class.
| [in] | collision_name | the name of the collision |
| [in] | mypc | pointer to the MultiParticleContainer |
| [in] | isSameSpecies | whether the two colliding species are the same (should always be false) |
|
inlinenodiscard |
|
private |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |