50 fITDirectory->
SetGuidance(
"Control commands for the time scheduler "
51 "(dna chemistry applications).");
55 fEndTime->
SetGuidance(
"Set time at which the simulation must stop.");
64 fTimeTolerance->
SetGuidance(
"This command aims at resolving issues related to"
65 " floating points. If two time events are separated by less than the "
66 "selected tolerance, they are assumed to belong to the same time step.");
74 fInitCmd->
SetGuidance(
"Initialize G4Scheduler. This is done "
75 "for standalone application only (no physics).");
81 fMaxNULLTimeSteps->
SetGuidance(
"Set maximum allowed zero time steps. After this "
82 "threshold, the simulation is stopped.");
85 fMaxNULLTimeSteps->
SetRange(
"numberOfNullTimeSteps >=0 ");
88 fMaxStepNumber->
SetGuidance(
"Set the maximum number of time steps. After this "
89 "threshold, the simulation is stopped.");
95 fProcessCmd->
SetGuidance(
"Process stacked tracks in G4Scheduler. This is done "
96 "for standalone application only (no physics).");
101 fVerboseCmd->
SetGuidance(
"Set the Verbose level of G4Scheduler.");
103 fVerboseCmd->
SetGuidance(
" 1 : Display reactions");
110 fWhyDoYouStop->
SetGuidance(
"Will print information on why the scheduler is "
111 "stopping the process");
113 fUseDefaultTimeSteps =
new G4UIcmdWithABool(
"/scheduler/useDefaultTimeSteps",
115 fUseDefaultTimeSteps->
SetGuidance(
"Let the G4 processes decided for the next "
116 "time step interval. This command would be interesting if no reaction has "
117 "been set and if one will want to track down Brownian objects. "
118 "NB: This command gets in conflicts with the declaration of time steps.");
123 delete fTimeTolerance;
127 delete fMaxNULLTimeSteps;
128 delete fMaxStepNumber;
131 delete fWhyDoYouStop;
132 delete fUseDefaultTimeSteps;
138 if (command == fProcessCmd)
142 else if (command == fEndTime)
146 else if (command == fTimeTolerance)
151 else if (command == fVerboseCmd)
155 else if (command == fInitCmd)
159 else if (command == fMaxNULLTimeSteps)
164 else if (command == fMaxStepNumber)
168 else if (command == fWhyDoYouStop)
172 else if (command == fUseDefaultTimeSteps)
182 if (command == fVerboseCmd)
186 else if (command == fEndTime)
190 else if (command == fTimeTolerance)
194 else if (command == fInitCmd)
198 else if (command == fMaxNULLTimeSteps)
203 else if (command == fMaxStepNumber)
207 else if (command == fUseDefaultTimeSteps)
void SetNewValue(G4UIcommand *command, G4String newValues)
G4String GetCurrentValue(G4UIcommand *command)
G4SchedulerMessenger(G4Scheduler *runMgr)
void SetTimeTolerance(double)
void SetEndTime(const double)
void SetMaxZeroTimeAllowed(int)
int GetMaxZeroTimeAllowed() const
void SetMaxNbSteps(G4int)
G4int GetMaxNbSteps() const
G4double GetEndTime() const
G4bool AreDefaultTimeStepsUsed()
double GetTimeTolerance() const
void UseDefaultTimeSteps(G4bool)
static G4bool GetNewBoolValue(const char *paramString)
void SetDefaultValue(G4double defVal)
void SetUnitCategory(const char *unitCategory)
void SetDefaultUnit(const char *defUnit)
static G4double GetNewDoubleValue(const char *paramString)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
void SetDefaultValue(G4int defVal)
static G4String ConvertToString(G4bool boolVal)
void SetGuidance(const char *aGuidance)
void SetRange(const char *rs)
void AvailableForStates(G4ApplicationState s1)