#include <QuantumSyncEngineWrapper.H>
|
| | QuantumSynchrotronEvolveOpticalDepth () |
| |
| | QuantumSynchrotronEvolveOpticalDepth (const QS_dndt_table_view table_view, const amrex::ParticleReal qs_minimum_chi_part) |
| |
| 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 leptons due to the Quantum Synchrotron process
◆ QuantumSynchrotronEvolveOpticalDepth() [1/2]
| QuantumSynchrotronEvolveOpticalDepth::QuantumSynchrotronEvolveOpticalDepth |
( |
| ) |
|
|
inline |
Default constructor: it leaves the functor in a non-initialized state.
◆ QuantumSynchrotronEvolveOpticalDepth() [2/2]
| QuantumSynchrotronEvolveOpticalDepth::QuantumSynchrotronEvolveOpticalDepth |
( |
const QS_dndt_table_view |
table_view, |
|
|
const amrex::ParticleReal |
qs_minimum_chi_part |
|
) |
| |
|
inline |
Constructor to be used to initialize the functor.
- Parameters
-
| [in] | table_view | a view of a QS_dndt_table lookup table |
| [in] | qs_minimum_chi_part | the minimum quantum parameter to evolve the optical depth |
◆ operator()()
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE int QuantumSynchrotronEvolveOpticalDepth::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 particle is < qs_minimum_chi_part, the method returns immediately.
- Parameters
-
| [in] | ux,uy,uz | gamma*v components of the lepton. |
| [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 particle. |
- Returns
- a flag which is 1 if chi_part was out of table.
◆ m_qs_minimum_chi_part
| amrex::ParticleReal QuantumSynchrotronEvolveOpticalDepth::m_qs_minimum_chi_part |
|
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/QuantumSyncEngineWrapper.H