Celeritas  0.5.0-86+4a8eea4
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::CutoffParamsData< W, M > Struct Template Reference

Persistent shared cutoff data. More...

#include <CutoffData.hh>

Public Types

template<class T >
using Items = Collection< T, W, M >
 
template<class T >
using ParticleItems = Collection< T, W, M, ParticleId >
 

Public Member Functions

CELER_FUNCTION operator bool () const
 True if assigned.
 
template<Ownership W2, MemSpace M2>
CutoffParamsDataoperator= (CutoffParamsData< W2, M2 > const &other)
 Assign from another set of data.
 

Public Attributes

Items< ParticleCutoffcutoffs
 [num_materials][num_particles]
 
ParticleItems< size_typeid_to_index
 
ParticleId::size_type num_particles
 Particles with production cuts.
 
MaterialId::size_type num_materials
 All materials in the problem.
 
bool apply_post_interaction {false}
 Apply cutoff post-interaction.
 
CutoffIds ids
 Secondaries that can be killed post-interaction if their energy is below the production cut.
 

Detailed Description

template<Ownership W, MemSpace M>
struct celeritas::CutoffParamsData< W, M >

Persistent shared cutoff data.

Secondary production cuts are stored for every material and for only the particle types to which production cuts apply. Positron production cuts are only used when the post-interaction cutoff is enabled. Proton production cuts are currently unused.

See also
CutoffView
CutoffParams

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