WarpX
Public Member Functions | Public Attributes | List of all members
SchwingerFilterFunc Struct Reference

#include <QEDSchwingerProcess.H>

Public Member Functions

template<typename FABs >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real operator() (const FABs &src_FABs, const int i, const int j, const int k, amrex::RandomEngine const &engine) const noexcept
 

Public Attributes

const int m_threshold_poisson_gaussian
 
const amrex::Real m_dV
 
const amrex::Real m_dt
 

Detailed Description

This structure is a functor which calls getSchwingerProductionNumber to calculate the number of pairs created during a given timestep at a given cell.

Member Function Documentation

◆ operator()()

template<typename FABs >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real SchwingerFilterFunc::operator() ( const FABs &  src_FABs,
const int  i,
const int  j,
const int  k,
amrex::RandomEngine const &  engine 
) const
inlinenoexcept

Get the number of created pairs in a given cell at a given timestep.

Template Parameters
FABsthe src array of Array4 type
Parameters
[in]src_FABsA class with 6 named Array4 that contain the EM field in the tile.
[in]iindex of the cell in the first direction.
[in]jindex of the cell in the second direction.
[in]kindex of the cell in the third direction.
[in]enginethe random number state and factory
Returns
the number of pairs created in the cell.

Member Data Documentation

◆ m_dt

const amrex::Real SchwingerFilterFunc::m_dt

◆ m_dV

const amrex::Real SchwingerFilterFunc::m_dV

◆ m_threshold_poisson_gaussian

const int SchwingerFilterFunc::m_threshold_poisson_gaussian

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