Celeritas  0.5.0-56+6b053cd
Public Member Functions | List of all members
celeritas::MacroXsCalculator< MicroXsT > Class Template Reference

Calculates the macroscopic cross section. More...

#include <MacroXsCalculator.hh>

Public Types

Type aliases
using ParamsRef = typename MicroXsT::ParamsRef
 
using Energy = typename MicroXsT::Energy
 
using MicroXs = units::BarnXs
 
using MacroXsUnits = units::Native
 

Public Member Functions

CELER_FUNCTION MacroXsCalculator (ParamsRef const &shared, MaterialView const &material)
 Construct with shared and material data.
 
CELER_FUNCTION real_type operator() (Energy energy) const
 Compute the macroscopic cross section on the fly at the given energy.
 

Detailed Description

template<class MicroXsT>
class celeritas::MacroXsCalculator< MicroXsT >

Calculates the macroscopic cross section.

Template Parameters
MicroXsTmicroscopic (element) cross section calculator

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