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

Filter functor for the QED photon emission process. More...

#include <QEDPhotonEmission.H>

Public Member Functions

 PhotonEmissionFilterFunc (int const opt_depth_runtime_comp)
 Constructor of the PhotonEmissionFilterFunc functor. More...
 
template<typename PData >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool operator() (const PData &ptd, int const i, amrex::RandomEngine const &) const noexcept
 Functor call. This method determines if a given (electron or positron) particle should undergo QED photon emission. More...
 

Private Attributes

int m_opt_depth_runtime_comp
 

Detailed Description

Filter functor for the QED photon emission process.

Constructor & Destructor Documentation

◆ PhotonEmissionFilterFunc()

PhotonEmissionFilterFunc::PhotonEmissionFilterFunc ( int const  opt_depth_runtime_comp)
inline

Constructor of the PhotonEmissionFilterFunc functor.

Parameters
[in]opt_depth_runtime_compIndex of the optical depth component

Member Function Documentation

◆ operator()()

template<typename PData >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool PhotonEmissionFilterFunc::operator() ( const PData &  ptd,
int const  i,
amrex::RandomEngine const &   
) const
inlinenoexcept

Functor call. This method determines if a given (electron or positron) particle should undergo QED photon emission.

Parameters
[in]ptdparticle tile data
[in]iparticle index
Returns
true if a pair has to be generated, false otherwise

Member Data Documentation

◆ m_opt_depth_runtime_comp

int PhotonEmissionFilterFunc::m_opt_depth_runtime_comp
private

Index of the optical depth component of the source species


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