@@ -160,7 +160,7 @@ struct propagator {
160
160
run_actors (actor_state_refs, propagation);
161
161
162
162
// Find next candidate
163
- m_navigator.update (track, navigation, m_cfg.navigation );
163
+ m_navigator.update (track, navigation, m_cfg.navigation , context );
164
164
propagation._heartbeat &= navigation.is_alive ();
165
165
}
166
166
@@ -178,6 +178,7 @@ struct propagator {
178
178
typename actor_chain_t ::state actor_state_refs) const {
179
179
auto &navigation = propagation._navigation ;
180
180
auto &stepping = propagation._stepping ;
181
+ auto &context = propagation._context ;
181
182
const auto &track = stepping ();
182
183
183
184
// Set access to the volume material for the stepper
@@ -197,14 +198,14 @@ struct propagator {
197
198
typename stepper_t ::policy_type{}(stepping.policy_state (), propagation);
198
199
199
200
// Find next candidate
200
- is_init = m_navigator.update (track, navigation, m_cfg.navigation );
201
+ is_init = m_navigator.update (track, navigation, m_cfg.navigation , context );
201
202
propagation._heartbeat &= navigation.is_alive ();
202
203
203
204
// Run all registered actors/aborters after update
204
205
run_actors (actor_state_refs, propagation);
205
206
206
207
// And check the status
207
- is_init |= m_navigator.update (track, navigation, m_cfg.navigation );
208
+ is_init |= m_navigator.update (track, navigation, m_cfg.navigation , context );
208
209
propagation._heartbeat &= navigation.is_alive ();
209
210
210
211
#if defined(__NO_DEVICE__)
@@ -278,6 +279,7 @@ struct propagator {
278
279
279
280
auto &navigation = propagation._navigation ;
280
281
auto &stepping = propagation._stepping ;
282
+ auto &context = propagation._context ;
281
283
const auto &track = stepping ();
282
284
283
285
while (propagation.is_alive ()) {
@@ -305,7 +307,7 @@ struct propagator {
305
307
306
308
// Find next candidate
307
309
is_init =
308
- m_navigator.update (track, navigation, m_cfg.navigation );
310
+ m_navigator.update (track, navigation, m_cfg.navigation , context );
309
311
propagation._heartbeat &= navigation.is_alive ();
310
312
311
313
// If the track is on a sensitive surface, break the loop to
@@ -318,7 +320,7 @@ struct propagator {
318
320
319
321
// And check the status
320
322
is_init |=
321
- m_navigator.update (track, navigation, m_cfg.navigation );
323
+ m_navigator.update (track, navigation, m_cfg.navigation , context );
322
324
propagation._heartbeat &= navigation.is_alive ();
323
325
}
324
326
}
@@ -330,7 +332,7 @@ struct propagator {
330
332
331
333
// And check the status
332
334
is_init |=
333
- m_navigator.update (track, navigation, m_cfg.navigation );
335
+ m_navigator.update (track, navigation, m_cfg.navigation , context );
334
336
propagation._heartbeat &= navigation.is_alive ();
335
337
}
336
338
0 commit comments