|
CORSIKA8
0.0.0
The framework to simulate particle cascades for astroparticle physics
|
Helper class to setup concentric spheres of layered atmosphere with spcified density profiles (exponential, linear, ...). More...
#include <LayeredSphericalAtmosphereBuilder.hpp>
Public Member Functions | |
| void | setNuclearComposition (NuclearComposition const &composition) |
| void | addExponentialLayer (GrammageType b, LengthType c, LengthType upperBoundary) |
| void | addLinearLayer (LengthType c, LengthType upperBoundary) |
| void | addTabularLayer (std::function< MassDensityType(LengthType)> const &funcRho, unsigned int const nBins, LengthType const deltaHeight, LengthType const upperBoundary) |
| int | getSize () const |
| void | assemble (Environment< TMediumInterface > &env) |
| Environment< TMediumInterface > | assemble () |
| LengthType | getPlanetRadius () const |
| Get the current planet radius. | |
Protected Member Functions | |
| LayeredSphericalAtmosphereBuilder (TModelArgs... args, Point const ¢er, LengthType planetRadius) | |
Friends | |
| template<typename , template< typename > typename> | |
| struct | make_layered_spherical_atmosphere_builder |
Helper class to setup concentric spheres of layered atmosphere with spcified density profiles (exponential, linear, ...).
This can be used most importantly to replicate CORSIKA7 atmospheres.
Each layer by definition has a density profile and a (constant) nuclear composition model.
Definition at line 58 of file LayeredSphericalAtmosphereBuilder.hpp.