IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 9e1edcec authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

documentation for FlatExponential

parent d3c9c282
No related branches found
No related tags found
1 merge request!99sliding planar atmosphere
...@@ -20,7 +20,18 @@ ...@@ -20,7 +20,18 @@
#include <corsika/units/PhysicalUnits.h> #include <corsika/units/PhysicalUnits.h>
namespace corsika::environment { 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> template <class T>
class FlatExponential : public BaseExponential<FlatExponential<T>>, public T { class FlatExponential : public BaseExponential<FlatExponential<T>>, public T {
geometry::Vector<units::si::dimensionless_d> const fAxis; geometry::Vector<units::si::dimensionless_d> const fAxis;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment