IAP GITLAB

Skip to content
Snippets Groups Projects
Commit a1250860 authored by Alan Coleman's avatar Alan Coleman
Browse files

Merge branch '589-make-check-of-equivalence-of-logical-vs-numerical-nodes-optional' into 'master'

Resolve "Make check of equivalence of logical vs. numerical nodes optional"

Closes #589

See merge request !652
parents 149c3be0 e1f9e25f
No related branches found
No related tags found
1 merge request!652Resolve "Make check of equivalence of logical vs. numerical nodes optional"
Pipeline #14036 passed
...@@ -296,22 +296,6 @@ namespace corsika { ...@@ -296,22 +296,6 @@ namespace corsika {
CORSIKA_LOG_DEBUG("step limit reached (e.g. deflection). nothing further happens."); CORSIKA_LOG_DEBUG("step limit reached (e.g. deflection). nothing further happens.");
// final sanity check, no actions
{
auto const* numericalNodeAfterStep =
environment_.getUniverse()->getContainingNode(particle.getPosition());
CORSIKA_LOG_TRACE(
"Geometry check: numericalNodeAfterStep={} currentLogicalNode={}",
fmt::ptr(numericalNodeAfterStep), fmt::ptr(currentLogicalNode));
if (numericalNodeAfterStep != currentLogicalNode) {
CORSIKA_LOG_ERROR(
"expect to be in node currentLogicalNode={} but are in "
"numericalNodeAfterStep={}. Continue, but without guarantee.",
fmt::ptr(currentLogicalNode), fmt::ptr(numericalNodeAfterStep));
}
}
// we did not cross any volume boundary
// step length limit // step length limit
return; return;
} }
......
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