Celeritas  0.5.0-86+4a8eea4
Public Member Functions | List of all members
celeritas::CombinedBremInteractor Class Reference

Apply either Seltzer-Berger or Relativistic depending on energy. More...

#include <CombinedBremInteractor.hh>

Public Member Functions

CELER_FUNCTION CombinedBremInteractor (CombinedBremRef const &shared, ParticleTrackView const &particle, Real3 const &direction, CutoffView const &cutoffs, StackAllocator< Secondary > &allocate, MaterialView const &material, ElementComponentId const &elcomp_id)
 Construct with shared and state data.
 
template<class Engine >
CELER_FUNCTION Interaction operator() (Engine &rng)
 Sample the production of bremsstrahlung photons using a combined model.
 

Detailed Description

Apply either Seltzer-Berger or Relativistic depending on energy.

This is a combined bremsstrahlung interactor consisted of the Seltzer-Berger interactor at the low energy (< 1 GeV) and the relativistic bremsstrahlung interactor at the high energy for the e-/e+ bremsstrahlung process.

Todo:
: see if there's any occupancy/performance difference by defining the samplers inside the conditional on "is_relativistic".

The documentation for this class was generated from the following file: