IAP GITLAB

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

added proto decay process

parent 7e1ca43a
No related branches found
No related tags found
1 merge request!28Sibyll
......@@ -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() {
// coordinate system, get global frame of reference
......
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