Skip to content

Commit

Permalink
Only allow /RMG/Processes/Stepping/DaughterNucleusMaxLifetime in idle…
Browse files Browse the repository at this point in the history
… state

* it is safe to use in idle state, too
* it is not registered yet in pre-init state in MT mode
* remove it from pre-init state to make macros behave consistently between MT/serial modes
  • Loading branch information
ManuelHu committed Nov 7, 2024
1 parent f0d40db commit 7f9ee62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RMGSteppingAction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void RMGSteppingAction::DefineCommands() {
.SetGuidance("Set to -1 to disable this feature.")
.SetParameterName("max_lifetime", false)
.SetDefaultValue("-1")
.SetStates(G4State_PreInit);
.SetStates(G4State_Idle);
}


Expand Down

0 comments on commit 7f9ee62

Please sign in to comment.