Celeritas
0.5.0-56+6b053cd
|
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. | |
Calculates the macroscopic cross section.
MicroXsT | microscopic (element) cross section calculator |