CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::InhomogeneousMedium< T, TDensityFunction > Class Template Reference

A general inhomogeneous medium. More...

#include <InhomogeneousMedium.hpp>

Inheritance diagram for corsika::InhomogeneousMedium< T, TDensityFunction >:

Public Member Functions

template<typename... TArgs>
 InhomogeneousMedium (NuclearComposition const &nuclComp, TArgs &&... rhoTArgs)
 
MassDensityType getMassDensity (Point const &point) const override
 
NuclearComposition const & getNuclearComposition () const override
 
GrammageType getIntegratedGrammage (BaseTrajectory const &line) const override
 
LengthType getArclengthFromGrammage (BaseTrajectory const &pLine, GrammageType grammage) const override
 

Detailed Description

template<typename T, typename TDensityFunction>
class corsika::InhomogeneousMedium< T, TDensityFunction >

A general inhomogeneous medium.

The mass density distribution TDensityFunction must be a \(C^2\)-function.

Definition at line 25 of file InhomogeneousMedium.hpp.


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