Celeritas 0.6.0-47+develop.b3cbb238
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::EnergyLossCalculator Class Reference

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.
 

Detailed Description

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.


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