IAP GITLAB

Skip to content
Snippets Groups Projects
Commit d42adfd5 authored by ralfulrich's avatar ralfulrich
Browse files

doxygen

parent 5435e28c
No related branches found
No related tags found
No related merge requests found
# COAST interface {#COASTinterface}
# COAST interface {#COAST}
With the COAST interface of CORSIKA 8 you can write a CORSIKA 8
"process" class and link it to CORSIKA 7. This can be very powerful to
......@@ -6,7 +6,7 @@ benchmark new CORSIKA 8 physics code in the context of "old" CORSIKA 7
simulations.
This is based on corsika7/trunk/coast/CoastOptions/example with an
additional interface to CORSIKA 8.
additional interface to CORSIKA 8. See code in namespace corsika::coast for all details.
We provide a step-by-step example for a "COAST user library" using CORSIKA 8
technology. It explains the steps, how to use the COAST_USER_LIB
......
PROJECT_NAME = CORSIKA
PROJECT_NUMBER = 8.0.0
PROJECT_NAME = CORSIKA 8
PROJECT_NUMBER = 0.0.0
GENERATE_HTML = YES
GENERATE_LATEX = YES
OUTPUT_DIRECTORY = @CMAKE_CURRENT_BINARY_DIR@/
INPUT = @PROJECT_SOURCE_DIR@ @PROJECT_BINARY_DIR@/Framework
EXCLUDE_PATTERNS = */ThirdParty/*/*
GENERATE_HTML = YES
GENERATE_LATEX = YES
FULL_PATH_NAMES = YES
STRIP_FROM_PATH = @PROJECT_SOURCE_DIR@
FILE_PATTERNS = *.cc *.cpp *.cxx *.h *.dox *.inc *.md
EXTENSION_MAPPING = inc=C++
......
......@@ -27,7 +27,6 @@
#include <corsika/units/PhysicalUnits.h>
/**
* @namespace particle
*
* The properties of all elementary particles is stored here. The data
* is taken from the Pythia ParticleData.xml file.
......@@ -36,10 +35,13 @@
namespace corsika::particles {
/**
* @enum Code
* The Code enum is the actual place to define CORSIKA 8 particle codes.
*/
enum class Code : int16_t;
using PDGCodeType = int32_t;
using CodeIntType = std::underlying_type<Code>::type;
using PDGCodeType = int32_t;
// forward declarations to be used in GeneratedParticleProperties
int16_t constexpr GetElectricChargeNumber(Code const);
......
/**
@page Particles Particle properties
The properties of all particles are saved in static and flat
arrays. There is a enum corsika::particles::Code to identify each
particles, and each individual particles has its own static class,
which can be used to retrieve its physical properties.
See namespace corsika::particles for all classes.
*/
\ No newline at end of file
......@@ -67,7 +67,7 @@ namespace corsika::stack {
protected:
/** @name Access to underlying stack data
@{
@{
*/
auto& GetStackData() { return GetIterator().GetStackData(); }
const auto& GetStackData() const { return GetIterator().GetStackData(); }
......@@ -75,7 +75,7 @@ namespace corsika::stack {
const auto& GetStack() const { return GetIterator().GetStack(); }
///@}
/**
/**
* return the index number of the underlying iterator object
*/
int GetIndex() const { return GetIterator().GetIndex(); }
......
/**
@page stack Description of particle stacks
@page Stack Description of particle stacks
In the CORSIKA 8 framework particle data is always stored in
particle stacks. A particle is, thus, always a reference (iterator)
......
......@@ -12,7 +12,7 @@
#ifndef _include_Stack_h__
#define _include_Stack_h__
#include <corsika/stack/StackIteratorInterface.h>
#include <corsika/stack/StackIteratorInterface.h>
#include <stdexcept>
......@@ -29,7 +29,7 @@ namespace corsika::stack {
Important: ParticleInterface must inherit from ParticleBase !
*/
template <typename>
class ParticleInterface; // forward decl
......
......@@ -112,8 +112,8 @@ namespace corsika::stack {
}
public:
/** @name Iterator interface
@{
/** @name Iterator interface
@{
*/
StackIteratorInterface& operator++() {
++fIndex;
......
# CORSIKA 8 Framework for Particle Cascades in Astroparticle Physics**
# CORSIKA 8 Framework for Particle Cascades in Astroparticle Physics
The purpose of CORSIKA is to simulate any particle cascades in
astroparticle physics or astrophysical context. A lot of emphasis is
......@@ -104,3 +104,4 @@ browse with firefox:
```
firefox ../corsika-install/share/doc/html/index.html
```
/**
@mainpage CORSIKA 8 air shower simulations framework
@mainpage Technical documentation of the CORSIKA 8 software framework
Documentation and reference guide for the CORSIKA8 (CORSIKA version 8)
software framework for air shower simulations. CORSIKA8 is developed
Software documentatin and reference guide for the CORSIKA 8
software framework for air shower simulations. CORSIKA 8 is developed
at <a
href="https://gitlab.ikp.kit.edu/AirShowerPhysics">https://gitlab.ikp.kit.edu</a>. If
you got the code from somewhere else, consider to switch to the
......@@ -16,17 +16,12 @@ Write to corsika-devel@lists.kit.edu, or even register yourself at
https://www.lists.kit.edu/sympa/info/corsika-devel to get in contact
with other developers.
If you use, or want to refer to, CORSIKA8 please cite <a href="https://doi.org/10.1007/s41781-018-0013-0">"Towards a Next
Generation of CORSIKA: A Framework for the Simulation of Particle
Cascades in Astroparticle Physics" [Comput.Softw.Big Sci. 3 (2019)
2]</a>. We kindly ask (and
expect) any relevant improvement or addition to be offered or
contributed to the main CORSIKA8 repository for the benefit of the
whole community.
For more information about the project, see @ref md_README.
For more information, see also the
<a
href="https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika/blob/master/README.md">central README.md file</a>.
## Further details:
1. @subpage Stack
2. @subpage Particles
3. @subpage COAST
*/
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