WarpX
|
#include <BreitWheelerEngineWrapper.H>
Public Member Functions | |
BreitWheelerGetOpticalDepth ()=default | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::ParticleReal | operator() (amrex::RandomEngine const &engine) const noexcept |
Functor to initialize the optical depth of photons for the Breit-Wheeler process
|
default |
Constructor does nothing because optical depth initialization does not require control parameters or lookup tables.
|
inlinenoexcept |
() operator is just a thin wrapper around a very simple function to generate the optical depth. It can be used on GPU.