|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
A uniform refractive index. More...
#include <UniformRefractiveIndex.hpp>

Public Member Functions | |
| template<typename... Args> | |
| UniformRefractiveIndex (double const n, Args &&... args) | |
| Construct a UniformRefractiveIndex. More... | |
| double | getRefractiveIndex (Point const &point) const override |
| Evaluate the refractive index at a given location. More... | |
| void | setRefractiveIndex (double const n) |
| Set the refractive index returned by this instance. More... | |
A uniform refractive index.
This class returns the same refractive index for all evaluated locations.
Definition at line 22 of file UniformRefractiveIndex.hpp.
| corsika::UniformRefractiveIndex< T >::UniformRefractiveIndex | ( | double const | n, |
| Args &&... | args | ||
| ) |
Construct a UniformRefractiveIndex.
This is initialized with a fixed refractive index and returns this refractive index at all locations.
| n | The refractive index to return everywhere. |
|
override |
Evaluate the refractive index at a given location.
Note: since this is uniform model, it has no position-dependence.
| point | The location to evaluate at (not used internally). |
| void corsika::UniformRefractiveIndex< T >::setRefractiveIndex | ( | double const | n | ) |
Set the refractive index returned by this instance.
| n | The global refractive index. |