|
WarpX
|
Functions | |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | chi_photon (const amrex::Real px, const amrex::Real py, const amrex::Real pz, const amrex::Real ex, const amrex::Real ey, const amrex::Real ez, const amrex::Real bx, const amrex::Real by, const amrex::Real bz) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | chi_ele_pos (const amrex::Real px, const amrex::Real py, const amrex::Real pz, const amrex::Real ex, const amrex::Real ey, const amrex::Real ez, const amrex::Real bx, const amrex::Real by, const amrex::Real bz) |
This header contains wrappers around functions provided by the PICSAR QED library to calculate the 'chi' parameter for photons or electrons and positrons.
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real QedUtils::chi_ele_pos | ( | const amrex::Real | px, |
| const amrex::Real | py, | ||
| const amrex::Real | pz, | ||
| const amrex::Real | ex, | ||
| const amrex::Real | ey, | ||
| const amrex::Real | ez, | ||
| const amrex::Real | bx, | ||
| const amrex::Real | by, | ||
| const amrex::Real | bz | ||
| ) |
Function to calculate the 'chi' parameter for electrons or positrons. Suitable for GPU kernels.
| [in] | px,py,pz | components of momentum (SI units) |
| [in] | ex,ey,ez | components of electric field (SI units) |
| [in] | bx,by,bz | components of magnetic field (SI units) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real QedUtils::chi_photon | ( | const amrex::Real | px, |
| const amrex::Real | py, | ||
| const amrex::Real | pz, | ||
| const amrex::Real | ex, | ||
| const amrex::Real | ey, | ||
| const amrex::Real | ez, | ||
| const amrex::Real | bx, | ||
| const amrex::Real | by, | ||
| const amrex::Real | bz | ||
| ) |
Function to calculate the 'chi' parameter for photons. Suitable for GPU kernels.
| [in] | px,py,pz | components of momentum (SI units) |
| [in] | ex,ey,ez | components of electric field (SI units) |
| [in] | bx,by,bz | components of magnetic field (SI units) |
1.8.13