8 #include "G4UIcmdWithADoubleAndUnit.hh"
9 #include "G4FieldManager.hh"
10 #include "G4UIcommand.hh"
11 #include "G4UIdirectory.hh"
12 #include "G4TransportationManager.hh"
13 #include "G4ApplicationState.hh"
30 G4FieldManager* fieldMgr = G4TransportationManager::GetTransportationManager()->GetFieldManager();
39 fieldMgr->SetDeltaOneStep(deltaOneStep);
43 fieldMgr->SetDeltaIntersection(deltaIntersection);
46 G4Exception(
"",
"", JustWarning,
"Unknown command.");
54 m_fieldDir->SetGuidance(
"Magnetic field customization commands. [SLIC]");
58 m_selectStepperCmd->SetGuidance(
"Select the G4MagIntegratorStepper:\nG4ClassicalRK4 G4ExplicitEuler G4HelixExplicitEuler G4HelixHeum G4HelixImplicitEuler G4HelixSimpleRunge G4ImplicitEuler G4CashKarpRKF45 G4SimpleHeum G4SimpleRunge");
60 p =
new G4UIparameter(
"stepper",
's',
false);
static G4MagIntegratorStepperFactory * instance()
A manager of B-fields that currently just holds the pointer to its associated FieldMessenger.
G4UIcommand * m_selectStepperCmd
G4UIcmdWithADoubleAndUnit * m_setDeltaIntersectionCmd
G4UIcmdWithADoubleAndUnit * m_setDeltaOneStepCmd
virtual void SetNewValue(G4UIcommand *command, G4String newValues)
FieldMessenger(FieldManager *mgr)
G4UIdirectory * m_fieldDir
virtual ~FieldMessenger()