Celeritas  0.5.0-56+6b053cd
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
celeritas::ImportModelMaterial Struct Reference

Imported data for one material in a particular model. More...

#include <ImportModel.hh>

Public Types

Type aliases
using MicroXs = std::vector< double >
 

Public Member Functions

 operator bool () const
 

Public Attributes

std::vector< double > energy
 Energy grid for the material.
 
std::vector< MicroXs > micro_xs
 Cross sections for each element.
 

Static Public Attributes

static constexpr auto energy_units {ImportUnits::mev}
 
static constexpr auto xs_units {ImportUnits::len_sq}
 

Detailed Description

Imported data for one material in a particular model.

Microscopic cross-section data are stored in the element-selector physics vector is in length^2. They will not be present for all model types, as some models only do on-the-fly calculation (e.g., photoelectric effect) or don't depend on elemental interactions (e.g., compton scattering). The needs_micro_xs function indicates which models should store the cross section data.

The energy grid's boundaries determine the model's energy bounds and will always be set.


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