WarpX
Loading...
Searching...
No Matches
QedUtils Namespace Reference

Functions

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real chi_photon (const amrex::ParticleReal px, const amrex::ParticleReal py, const amrex::ParticleReal pz, const amrex::ParticleReal ex, const amrex::ParticleReal ey, const amrex::ParticleReal ez, const amrex::ParticleReal bx, const amrex::ParticleReal by, const amrex::ParticleReal bz)
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real chi_ele_pos (const amrex::ParticleReal px, const amrex::ParticleReal py, const amrex::ParticleReal pz, const amrex::ParticleReal ex, const amrex::ParticleReal ey, const amrex::ParticleReal ez, const amrex::ParticleReal bx, const amrex::ParticleReal by, const amrex::ParticleReal bz)
 

Detailed Description

This header contains wrappers around functions provided by the PICSAR QED library to calculate the 'chi' parameter for photons or electrons and positrons.

Function Documentation

◆ chi_ele_pos()

Function to calculate the 'chi' parameter for electrons or positrons. Suitable for GPU kernels.

Parameters
[in]px,py,pzcomponents of momentum (SI units)
[in]ex,ey,ezcomponents of electric field (SI units)
[in]bx,by,bzcomponents of magnetic field (SI units)
Returns
chi parameter

◆ chi_photon()

Function to calculate the 'chi' parameter for photons. Suitable for GPU kernels.

Parameters
[in]px,py,pzcomponents of momentum (SI units)
[in]ex,ey,ezcomponents of electric field (SI units)
[in]bx,by,bzcomponents of magnetic field (SI units)
Returns
chi parameter