WarpX
Public Member Functions | Private Attributes | List of all members
QuantumSynchrotronEvolveOpticalDepth Class Reference

#include <QuantumSyncEngineWrapper.H>

Public Member Functions

 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
 

Private Attributes

QS_dndt_table_view m_table_view
 
amrex::ParticleReal m_qs_minimum_chi_part
 

Detailed Description

Functor to evolve the optical depth of leptons due to the Quantum Synchrotron process

Constructor & Destructor Documentation

◆ 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_viewa view of a QS_dndt_table lookup table
[in]qs_minimum_chi_partthe minimum quantum parameter to evolve the optical depth

Member Function Documentation

◆ 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,uzgamma*v components of the lepton.
[in]ex,ey,ezelectric field components (SI units)
[in]bx,by,bzmagnetic field components (SI units)
[in]dttimestep (SI units)
[in,out]opt_depthoptical depth of the particle.
Returns
a flag which is 1 if chi_part was out of table.

Member Data Documentation

◆ m_qs_minimum_chi_part

amrex::ParticleReal QuantumSynchrotronEvolveOpticalDepth::m_qs_minimum_chi_part
private

◆ m_table_view

QS_dndt_table_view QuantumSynchrotronEvolveOpticalDepth::m_table_view
private

The documentation for this class was generated from the following file: