38 qssCmdDir->
SetGuidance(
"G4QSStepper configuration.");
49 trialProposedStepModifierCmd =
new G4UIcmdWithADouble(
"/QSS/trialProposedStepModifier",
this);
50 trialProposedStepModifierCmd->
SetGuidance(
"Default is 1");
51 trialProposedStepModifierCmd->
SetParameterName(
"trialProposedStepModifier",
false);
56 stepperSelectorCmd->
SetCandidates(
"TemplatedDoPri OldRK45 G4QSS2");
65 delete stepperSelectorCmd;
66 delete trialProposedStepModifierCmd;
73 return &theSingleMessengerInstance;
78 if ( command == dQMinCmd ) {
82 if ( command == dQRelCmd ) {
86 if ( command == trialProposedStepModifierCmd ) {
90 if(command == stepperSelectorCmd){
98 const std::map<std::string, StepperSelection> stepperMapping =
100 _selectedStepper = stepperMapping.at(newValue);
101 G4cout <<
"G4QSSMessenger: Selecting stepper " << newValue <<
G4endl;
106 return _selectedStepper;
G4GLOB_DLL std::ostream G4cout
StepperSelection selectedStepper()
void SetNewValue(G4UIcommand *command, G4String newValues) override
G4double trialProposedStepModifier
void selectStepper(const std::string &)
static G4QSSMessenger * instance()
~G4QSSMessenger() override
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)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4double GetNewDoubleValue(const char *paramString)
void SetCandidates(const char *candidateList)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetGuidance(const char *aGuidance)
G4bool commandsShouldBeInMaster