IAP GITLAB

Skip to content
Snippets Groups Projects

Gladstone-Dale law rerfactive index profile

Merged Nikos Karastathis requested to merge Gladstone-Dale-rIndex into master
Files
6
@@ -24,7 +24,8 @@ namespace corsika {
, radius_(radius) {}
template <typename T>
double ExponentialRefractiveIndex<T>::getRefractiveIndex(Point const& point) const {
inline double ExponentialRefractiveIndex<T>::getRefractiveIndex(
Point const& point) const {
return n0_ * exp((-lambda_) * (distance(point, center_) - radius_));
}
Loading