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

Device data for Urban MSC. More...

#include <UrbanMscData.hh>

Public Types

template<class T >
using Items = Collection< T, W, M >
 
template<class T >
using MaterialItems = celeritas::Collection< T, W, M, MaterialId >
 

Public Member Functions

CELER_FUNCTION operator bool () const
 Check whether the data is assigned.
 
template<Ownership W2, MemSpace M2>
UrbanMscDataoperator= (UrbanMscData< W2, M2 > const &other)
 Assign from another set of data.
 
template<class T >
CELER_FUNCTION ItemId< T > at (MaterialId mat, ParticleId par) const
 Get the data location for a material + particle.
 

Public Attributes

CoulombIds ids
 Particle IDs.
 
units::MevMass electron_mass
 Mass of of electron in MeV.
 
UrbanMscParameters params
 User-assignable options.
 
MaterialItems< UrbanMscMaterialDatamaterial_data
 Material-dependent data.
 
Items< UrbanMscParMatDatapar_mat_data
 Particle and material-dependent data. More...
 
Items< XsGridDataxs
 Scaled xs data. More...
 
Items< real_typereals
 

Detailed Description

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

Device data for Urban MSC.

Since the model currently applies only to electrons and positrons, the particles are hardcoded to be length 2. TODO: extend to other charged particles when further physics is implemented.

Member Data Documentation

◆ par_mat_data

template<Ownership W, MemSpace M>
Items<UrbanMscParMatData> celeritas::UrbanMscData< W, M >::par_mat_data

Particle and material-dependent data.

[mat][particle]

◆ xs

template<Ownership W, MemSpace M>
Items<XsGridData> celeritas::UrbanMscData< W, M >::xs

Scaled xs data.

[mat][particle]


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