WarpX
Loading...
Searching...
No Matches
SchwingerTransformFunc Struct Reference

#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

amrex::Real m_y_size
 
int m_weight_index
 

Detailed Description

This structure is a functor which assigns a weight to particles created via the Schwinger process.

Member Function Documentation

◆ operator()()

template<typename DstTile>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void SchwingerTransformFunc::operator() ( DstTile & dst1,
DstTile & dst2,
const int i_dst1,
const int i_dst2,
const int N,
const amrex::Real total_weight ) const
inlinenoexcept

Assign a weight to particles created via the Schwinger process.

Template Parameters
DstTilethe dst particle tile type
Parameters
[in,out]dst1Target electron species.
[in,out]dst2Target photon species.
[in]i_dst1Particle index of target electron species.
[in]i_dst2Particle index of target positron species.
[in]NNumber of particles created per cell per species.
[in]total_weightNumber of physical pairs created in the considered cell.

Member Data Documentation

◆ m_weight_index

int SchwingerTransformFunc::m_weight_index

◆ m_y_size

amrex::Real SchwingerTransformFunc::m_y_size

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