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

#include <QuantumSyncEngineWrapper.H>

Public Member Functions

 QuantumSynchrotronGetOpticalDepth ()
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real operator() () const noexcept
 

Detailed Description

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

Constructor & Destructor Documentation

◆ QuantumSynchrotronGetOpticalDepth()

QuantumSynchrotronGetOpticalDepth::QuantumSynchrotronGetOpticalDepth ( )
inline

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::Real QuantumSynchrotronGetOpticalDepth::operator() ( ) 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: