|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
This class provides the grammage/length conversion functionality for (locally) flat exponential atmospheres. More...
#include <BaseExponential.hpp>

Public Member Functions | |
| BaseExponential (Point const &point, LengthType const referenceHeight, MassDensityType const rho0, LengthType const lambda) | |
| Point const & | getAnchorPoint () const |
Protected Member Functions | |
| auto const & | getImplementation () const |
| MassDensityType | getMassDensity (LengthType const height) const |
| Returns the mass density at altitude "height". More... | |
| GrammageType | getIntegratedGrammage (BaseTrajectory const &line, DirectionVector const &axis) const |
| For a (normalized) axis \( \vec{a} \), the grammage along a non-orthogonal line with (normalized) direction \( \vec{u} \) is given by: \[ X = \frac{\varrho_0 \lambda}{\vec{u} \cdot \vec{a}} \left( \exp\left( \vec{u} \cdot \vec{a} \frac{l}{\lambda} \right) - 1 \right) \quad \text{,} \] where \( \varrho_0 \) is the density at the starting point. More... | |
| LengthType | getArclengthFromGrammage (BaseTrajectory const &line, GrammageType const grammage, DirectionVector const &axis) const |
| For a (normalized) axis \( \vec{a} \), the length of a non-orthogonal line with (normalized) direction \( \vec{u} \) corresponding to grammage \( X \) is given by: \[ l = \begin{cases} \frac{\lambda}{\vec{u} \cdot \vec{a}} \log\left(Y \right), & \text{if} & Y := 1 + \vec{u} \cdot \vec{a} \frac{X}{\rho_0 \lambda} > 0 \\ \infty & \text{else} & \text{,} \end{cases} \] where \( \varrho_0 \) is the density at the starting point. More... | |
This class provides the grammage/length conversion functionality for (locally) flat exponential atmospheres.
The density is described according to
\[ \varrho() \]
Definition at line 31 of file BaseExponential.hpp.
|
protected |
For a (normalized) axis \( \vec{a} \), the length of a non-orthogonal line with (normalized) direction \( \vec{u} \) corresponding to grammage \( X \) is given by:
\[ l = \begin{cases} \frac{\lambda}{\vec{u} \cdot \vec{a}} \log\left(Y \right), & \text{if} & Y := 1 + \vec{u} \cdot \vec{a} \frac{X}{\rho_0 \lambda} > 0 \\ \infty & \text{else} & \text{,} \end{cases} \]
where \( \varrho_0 \) is the density at the starting point.
If \( \vec{u} \cdot \vec{a} = 0 \), the calculation is just like for a homogeneous density:
\[ l = \frac{X}{\varrho_0} \]
|
protected |
For a (normalized) axis \( \vec{a} \), the grammage along a non-orthogonal line with (normalized) direction \( \vec{u} \) is given by:
\[ X = \frac{\varrho_0 \lambda}{\vec{u} \cdot \vec{a}} \left( \exp\left( \vec{u} \cdot \vec{a} \frac{l}{\lambda} \right) - 1 \right) \quad \text{,} \]
where \( \varrho_0 \) is the density at the starting point.
If \( \vec{u} \cdot \vec{a} = 0 \), the calculation is just like with a homogeneous density:
\[ X = \varrho_0 l \]
|
protected |
Returns the mass density at altitude "height".
| height |