IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 94942292 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

started length limitation

parent 220ee1a9
No related branches found
No related tags found
1 merge request!67Resolve "Add support for inhomogeneus density"
Pipeline #280 failed
......@@ -39,6 +39,14 @@ namespace corsika::environment {
return (1 - 0.5 * grammage * c1 / (c0 * c0)) * grammage / c0;
}
auto MaximumLength(double relError) const {
auto const c1 = GetImplementation().fRho.SecondDerivative(
line.GetPosition(0), line.NormalizedDirection());
// todo: finish
return 100_m;
}
};
} // namespace corsika::environment
......
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