CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
PhysicalGeometry.hpp
1 /*
2  * (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
3  *
4  * This software is distributed under the terms of the GNU General Public
5  * Licence version 3 (GPL Version 3). See file LICENSE for a full version of
6  * the license.
7  */
8 
9 #pragma once
10 
12 #include <corsika/framework/geometry/Vector.hpp>
13 
21 namespace corsika {
22 
23  typedef Vector<hepmomentum_d> MomentumVector;
24  typedef Vector<dimensionless_d> DirectionVector;
25  typedef Vector<magnetic_flux_density_d> MagneticFieldVector;
26  typedef Vector<SpeedType::dimension_type> VelocityVector;
27 
28 } // namespace corsika
Import and extend the phys::units package.
Vector< hepmomentum_d > MomentumVector
A 3D vector defined in a specific coordinate system with units HEPMomentumType.
`, since they are used everywhere as integral part of the framework.
Vector< dimensionless_d > DirectionVector
A 3D vector defined in a specific coordinate system with no units.
Vector< SpeedType::dimension_type > VelocityVector
A 3D vector defined in a specific coordinate system with units "velocity_t".