WarpX
|
#include <QEDSchwingerProcess.H>
Public Member Functions | |
template<typename DstTile > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | operator() (DstTile &dst1, DstTile &dst2, const int i_dst1, const int i_dst2, const int N, const amrex::Real total_weight) const noexcept |
Public Attributes | |
const amrex::Real | m_y_size |
const int | m_weight_index |
This structure is a functor which assigns a weight to particles created via the Schwinger process.
|
inlinenoexcept |
Assign a weight to particles created via the Schwinger process.
DstTile | the dst particle tile type |
[in,out] | dst1 | Target electron species. |
[in,out] | dst2 | Target photon species. |
[in] | i_dst1 | Particle index of target electron species. |
[in] | i_dst2 | Particle index of target positron species. |
[in] | N | Number of particles created per cell per species. |
[in] | total_weight | Number of physical pairs created in the considered cell. |
const int SchwingerTransformFunc::m_weight_index |
const amrex::Real SchwingerTransformFunc::m_y_size |