#include <BreitWheelerEngineWrapper.H>
|
| | BreitWheelerEvolveOpticalDepth () |
| |
| | 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::Real ux, const amrex::Real uy, const amrex::Real uz, const amrex::Real ex, const amrex::Real ey, const amrex::Real ez, const amrex::Real bx, const amrex::Real by, const amrex::Real bz, const amrex::Real dt, amrex::Real &opt_depth) const noexcept |
| |
Functor to evolve the optical depth of photons due to the Breit-Wheeler process
◆ BreitWheelerEvolveOpticalDepth() [1/2]
| BreitWheelerEvolveOpticalDepth::BreitWheelerEvolveOpticalDepth |
( |
| ) |
|
|
inline |
Default constructor: it leaves the functor in a non-initialized state.
◆ BreitWheelerEvolveOpticalDepth() [2/2]
| BreitWheelerEvolveOpticalDepth::BreitWheelerEvolveOpticalDepth |
( |
const BW_dndt_table_view |
table_view, |
|
|
const amrex::ParticleReal |
bw_minimum_chi_phot |
|
) |
| |
|
inline |
Constructor to be used to initialize the functor.
- Parameters
-
| [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 |
◆ operator()()
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE int BreitWheelerEvolveOpticalDepth::operator() |
( |
const amrex::Real |
ux, |
|
|
const amrex::Real |
uy, |
|
|
const amrex::Real |
uz, |
|
|
const amrex::Real |
ex, |
|
|
const amrex::Real |
ey, |
|
|
const amrex::Real |
ez, |
|
|
const amrex::Real |
bx, |
|
|
const amrex::Real |
by, |
|
|
const amrex::Real |
bz, |
|
|
const amrex::Real |
dt, |
|
|
amrex::Real & |
opt_depth |
|
) |
| const |
|
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.
- Parameters
-
| [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. |
- Returns
- a flag which is 1 if chi_phot was out of table
◆ m_bw_minimum_chi_phot
| amrex::ParticleReal BreitWheelerEvolveOpticalDepth::m_bw_minimum_chi_phot |
|
private |
◆ m_table_view
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/20.10/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.H