#include <BreitWheelerEngineWrapper.H>
Functor to initialize the optical depth of photons for the Breit-Wheeler process
◆ BreitWheelerGetOpticalDepth()
| BreitWheelerGetOpticalDepth::BreitWheelerGetOpticalDepth |
( |
| ) |
|
|
inline |
Constructor does nothing because optical depth initialization does not require control parameters or lookup tables.
◆ operator()()
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real BreitWheelerGetOpticalDepth::operator() |
( |
amrex::RandomEngine const & |
engine | ) |
const |
|
inlinenoexcept |
() operator is just a thin wrapper around a very simple function to generate the optical depth. It can be used on GPU.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/20.10/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.H