IAP GITLAB

Skip to content
Snippets Groups Projects
Commit c4572c99 authored by Felix Riehn's avatar Felix Riehn
Browse files

added proto decay process

parent f21be630
No related branches found
No related tags found
No related merge requests found
......@@ -333,6 +333,25 @@ double s_rndm_(int&) {
return rmng() / (double)rmng.max();
}
class ProcessDecay : public corsika::process::BaseProcess<ProcessDecay> {
public:
ProcessDecay() {}
void Init() {}
template <typename Particle>
double MinStepLength(Particle& p) const {
}
template <typename Particle, typename Stack>
void DoDiscrete(Particle& p, Stack& s) const {
}
template <typename Particle, typename Trajectory, typename Stack>
EProcessReturn DoContinuous(Particle&, Trajectory&, Stack&) const {
return EProcessReturn::eOk;
}
};
int main() {
CoordinateSystem& rootCS = RootCoordinateSystem::GetInstance().GetRootCS();
......
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