WarpX
Public Member Functions | List of all members
QuantumSynchrotronGetOpticalDepth Class Reference

#include <QuantumSyncEngineWrapper.H>

Public Member Functions

 QuantumSynchrotronGetOpticalDepth ()=default
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::ParticleReal operator() (amrex::RandomEngine const &engine) const noexcept
 

Detailed Description

Functor to initialize the optical depth of leptons for the Quantum Synchrotron process

Constructor & Destructor Documentation

◆ QuantumSynchrotronGetOpticalDepth()

QuantumSynchrotronGetOpticalDepth::QuantumSynchrotronGetOpticalDepth ( )
default

Constructor does nothing because optical depth initialization does not require control parameters or lookup tables.

Member Function Documentation

◆ operator()()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::ParticleReal QuantumSynchrotronGetOpticalDepth::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: