CORSIKA8  0.0.0
The framework to simulate particle cascades for astroparticle physics
corsika::LayeredSphericalAtmosphereBuilder< TMediumInterface, TMediumModelExtra, TModelArgs > Class Template Reference

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 &center, LengthType planetRadius)
 

Friends

template<typename , template< typename > typename>
struct make_layered_spherical_atmosphere_builder
 

Detailed Description

template<typename TMediumInterface = IMediumModel, template< typename > typename TMediumModelExtra = detail::NoExtraModel, typename... TModelArgs>
class corsika::LayeredSphericalAtmosphereBuilder< TMediumInterface, TMediumModelExtra, TModelArgs >

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.


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