-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restructure stepper/transporter/state/params #1556
Comments
Inputs:
Parallelism/multithread requirements:
During constructionOn the [M]ain thread or in [P]arallel: BeginOfRunAction (main)
BeginOfRunAction (worker)
Not currently done in geant4
Not currently used for anything interesting
During executionAt runtime we have two different use cases:
BeginOfEventAction (worker)Asynchronous events:
Not currently doneSynchronized event (batch) at beginning:
PreUserTrackingAction or HandOverOneTrack
|
I'd be grateful for input on this discussion from a parallelism standpoint (@amandalund) and Geant4 mechanics standpoint (@drbenmorgan). I'd like to have a structure that is compatible with all use cases and targeted at the Geant4 use case. The main questions I have are:
|
The Stepper should be refactored since it's grown from a single-purpose "do one step" to a general interface:
params.set_state(stream_id.get(), step_->sp_state())
inaccel
so we can do data reductions. (In total there's three accessors to get the state.)step(primaries)
is a little odd.Current construction order relating to actions:
begin_run
is called on each stateUse cases:
The text was updated successfully, but these errors were encountered: