Celeritas 0.6.0-47+develop.b3cbb238
|
For now, energy loss calculation has the same behavior as cross sections. More...
#include <EnergyLossCalculator.hh>
Public Types | |
Type aliases | |
using | Energy = units::MevEnergy |
using | Values = Collection< real_type, Ownership::const_reference, MemSpace::native > |
Public Member Functions | |
CELER_FUNCTION | EnergyLossCalculator (UniformGridRecord const &grid, Values const &reals) |
Construct from cross section data. | |
CELER_FUNCTION real_type | operator() (Energy energy) const |
Calculate the cross section using linear or spline interpolation. | |
For now, energy loss calculation has the same behavior as cross sections.
The return value is [MeV / len] but isn't wrapped with a Quantity.