Skip to content

Commit

Permalink
fixes after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Jan 15, 2025
1 parent a468dfe commit afb3270
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
11 changes: 6 additions & 5 deletions Core/include/Acts/Propagator/Propagator.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ auto Acts::Propagator<S, N>::propagate(propagator_state_t& state) const
state.stepping, *nextTarget.surface,
nextTarget.surfaceIntersectionIndex, state.options.direction,
nextTarget.boundaryTolerance, state.options.surfaceTolerance,
ConstrainedStep::navigator, logger());
ConstrainedStep::Type::Navigator, logger());
if (preStepSurfaceStatus == IntersectionStatus::reachable ||
preStepSurfaceStatus == IntersectionStatus::onSurface) {
return nextTarget;
Expand Down Expand Up @@ -109,8 +109,8 @@ auto Acts::Propagator<S, N>::propagate(propagator_state_t& state) const
<< state.direction.transpose());

// release actor and aborter constrains after step was performed
m_stepper.releaseStepSize(state.stepping, ConstrainedStep::navigator);
m_stepper.releaseStepSize(state.stepping, ConstrainedStep::actor);
m_stepper.releaseStepSize(state.stepping, ConstrainedStep::Type::Navigator);
m_stepper.releaseStepSize(state.stepping, ConstrainedStep::Type::Actor);

// Post-stepping: check target status, call actors, check abort conditions
state.stage = PropagatorStage::postStep;
Expand All @@ -120,7 +120,7 @@ auto Acts::Propagator<S, N>::propagate(propagator_state_t& state) const
state.stepping, *nextTarget.surface,
nextTarget.surfaceIntersectionIndex, state.options.direction,
nextTarget.boundaryTolerance, state.options.surfaceTolerance,
ConstrainedStep::navigator, logger());
ConstrainedStep::Type::Navigator, logger());
if (postStepSurfaceStatus == IntersectionStatus::onSurface) {
m_navigator.handleSurfaceReached(state.navigation, state.position,
state.direction, *nextTarget.surface);
Expand Down Expand Up @@ -155,7 +155,8 @@ auto Acts::Propagator<S, N>::propagate(propagator_state_t& state) const

if (nextTarget.isNone()) {
// navigator step constraint is not valid anymore
m_stepper.releaseStepSize(state.stepping, ConstrainedStep::navigator);
m_stepper.releaseStepSize(state.stepping,
ConstrainedStep::Type::Navigator);

nextTargetResult = getNextTarget();
if (!nextTargetResult.ok()) {
Expand Down
3 changes: 2 additions & 1 deletion Fatras/include/ActsFatras/Kernel/detail/SimulationActor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ struct SimulationActor {
const auto stepSize = properTimeDiff *
result.particle.absoluteMomentum() /
result.particle.mass();
stepper.releaseStepSize(state.stepping, Acts::ConstrainedStep::user);
stepper.releaseStepSize(state.stepping,
Acts::ConstrainedStep::Type::User);
stepper.updateStepSize(state.stepping, stepSize,
Acts::ConstrainedStep::Type::User);
}
Expand Down

0 comments on commit afb3270

Please sign in to comment.