CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
ContinuousProcess.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 
15 
16 #include <corsika/detail/framework/process/ContinuousProcess.hpp> // for extra traits, method/interface checking
17 
18 namespace corsika {
19 
64  template <typename TDerived>
65  class ContinuousProcess : public BaseProcess<TDerived> {
66  public:
67  };
68 
72  template <typename TProcess>
74  TProcess, std::enable_if_t<
75  std::is_base_of_v<ContinuousProcess<typename std::decay_t<TProcess>>,
76  typename std::decay_t<TProcess>>>>
77  : std::true_type {};
78 
81 } // namespace corsika
Import and extend the phys::units package.
STL namespace.
Each process in C8 must derive from BaseProcess.
Definition: BaseProcess.hpp:34
Processes with continuous effects along a particle Trajectory.
`, since they are used everywhere as integral part of the framework.
A traits marker to identify ContinuousProcess.