diff --git a/Environment/FlatExponential.h b/Environment/FlatExponential.h index 7f294bebdfe35f05ddbd96505a4bbee0473b7850..ef8cdc9a312d3ff3d345312a6349390deb9e11a8 100644 --- a/Environment/FlatExponential.h +++ b/Environment/FlatExponential.h @@ -20,7 +20,18 @@ #include <corsika/units/PhysicalUnits.h> namespace corsika::environment { - + + //clang-format off + /** + * flat exponential density distribution with + * \f[ + * \varrho(r) = \varrho_0 \exp\left( \frac{1}{\lambda} (r - p) \cdot + * \vec{a} \right). + * \f] + * \f$ \vec{a} \f$ denotes the axis and should be normalized to avoid degeneracy + * with the scale parameter \f$ \lambda \f$. + */ + //clang-format on template <class T> class FlatExponential : public BaseExponential<FlatExponential<T>>, public T { geometry::Vector<units::si::dimensionless_d> const fAxis;