CORSIKA8
0.0.0
The framework to simulate particle cascades for astroparticle physics
BaseTrajectory.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
11
#include <corsika/framework/geometry/Line.hpp>
12
#include <corsika/framework/geometry/Point.hpp>
13
14
namespace
corsika
{
15
36
class
BaseTrajectory
{
37
38
public
:
39
virtual
Point
getPosition(
double
const
u)
const
= 0;
40
41
virtual
VelocityVector
getVelocity(
double
const
u)
const
= 0;
42
43
virtual
DirectionVector
getDirection(
double
const
u)
const
= 0;
44
45
virtual
TimeType
getDuration(
double
const
u = 1)
const
= 0;
46
47
virtual
LengthType
getLength(
double
const
u = 1)
const
= 0;
48
49
virtual
void
setLength(
LengthType
const
limit) = 0;
50
51
virtual
void
setDuration(
TimeType
const
limit) = 0;
52
};
53
54
}
// namespace corsika
corsika::Point
Definition:
Point.hpp:22
phys::units::quantity< phys::units::time_interval_d, double >
corsika
The cascade namespace assembles all objects needed to simulate full particles cascades.
Definition:
BoundaryCrossingProcess.hpp:14
corsika::Vector< SpeedType::dimension_type >
corsika::BaseTrajectory
A Trajectory is a description of a momvement of an object in three-dimensional space that describes t...
Definition:
BaseTrajectory.hpp:36
corsika
framework
geometry
BaseTrajectory.hpp
Generated by
1.8.13