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

A tabulated refractive index. More...

#include <GladstoneDaleRefractiveIndex.hpp>

Inheritance diagram for corsika::GladstoneDaleRefractiveIndex< T >:

Public Member Functions

template<typename... Args>
 GladstoneDaleRefractiveIndex (double const seaLevelRefractiveIndex, Point const point, Args &&... args)
 Construct a GladstoneDaleRefractiveIndex. More...
 
double getRefractiveIndex (Point const &point) const override
 Evaluate the refractive index at a given location. More...
 

Detailed Description

template<typename T>
class corsika::GladstoneDaleRefractiveIndex< T >

A tabulated refractive index.

This class returns the value of refractive index for a specific height bin.

Definition at line 22 of file GladstoneDaleRefractiveIndex.hpp.

Constructor & Destructor Documentation

◆ GladstoneDaleRefractiveIndex()

template<typename T >
template<typename... Args>
corsika::GladstoneDaleRefractiveIndex< T >::GladstoneDaleRefractiveIndex ( double const  seaLevelRefractiveIndex,
Point const  point,
Args &&...  args 
)

Construct a GladstoneDaleRefractiveIndex.

This is initialized with a fixed refractive index at sea level and uses the Gladstone-Dale law to calculate the refractive index at a given point.

Parameters
seaLevelRefractiveIndexThe refractive index at sea level.
pointAA point at earth's surface.

Member Function Documentation

◆ getRefractiveIndex()

template<typename T >
double corsika::GladstoneDaleRefractiveIndex< T >::getRefractiveIndex ( Point const &  point) const
override

Evaluate the refractive index at a given location.

Parameters
pointThe location to evaluate at.
Returns
The refractive index at this point.

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