|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
A model for the energy loss property of a medium. More...
#include <MediumPropertyModel.hpp>

Public Member Functions | |
| template<typename... Args> | |
| MediumPropertyModel (Medium const medium, Args &&... args) | |
| Construct a MediumPropertyModel. More... | |
| Medium | getMedium () const override |
| Evaluate the medium type at a given location. More... | |
| void | setMedium (Medium const medium) |
| Set the medium type. More... | |
A model for the energy loss property of a medium.
Definition at line 19 of file MediumPropertyModel.hpp.
| corsika::MediumPropertyModel< T >::MediumPropertyModel | ( | Medium const | medium, |
| Args &&... | args | ||
| ) |
Construct a MediumPropertyModel.
| field | The refractive index to return everywhere. |
|
override |
Evaluate the medium type at a given location.
| point | The location to evaluate at. |
| void corsika::MediumPropertyModel< T >::setMedium | ( | Medium const | medium | ) |
Set the medium type.
| medium | The medium to store. |