WarpX
|
#include <BreitWheelerEngineWrapper.H>
Public Member Functions | |
BreitWheelerEvolveOpticalDepth ()=default | |
BreitWheelerEvolveOpticalDepth (const BW_dndt_table_view table_view, const amrex::ParticleReal bw_minimum_chi_phot) | |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE int | operator() (const amrex::ParticleReal ux, const amrex::ParticleReal uy, const amrex::ParticleReal uz, const amrex::ParticleReal ex, const amrex::ParticleReal ey, const amrex::ParticleReal ez, const amrex::ParticleReal bx, const amrex::ParticleReal by, const amrex::ParticleReal bz, const amrex::Real dt, amrex::ParticleReal &opt_depth) const noexcept |
Private Attributes | |
BW_dndt_table_view | m_table_view |
amrex::ParticleReal | m_bw_minimum_chi_phot |
Functor to evolve the optical depth of photons due to the Breit-Wheeler process
|
default |
Default constructor: it leaves the functor in a non-initialized state.
|
inline |
Constructor to be used to initialize the functor.
[in] | table_view | a view of a BW_dndt_table lookup table |
[in] | bw_minimum_chi_phot | the minimum quantum parameter to evolve the optical depth |
|
inlinenoexcept |
Evolves the optical depth. It can be used on GPU. If the quantum parameter parameter of the photon is < bw_minimum_chi_phot, the method returns immediately. The method returns also if the energy of the photon is insufficient to generate a pair.
[in] | ux,uy,uz | gamma*v components of the photon. |
[in] | ex,ey,ez | electric field components (SI units) |
[in] | bx,by,bz | magnetic field components (SI units) |
[in] | dt | timestep (SI units) |
[in,out] | opt_depth | optical depth of the photon. |
|
private |
|
private |