|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4BFieldIntegrationDriver is specialised integration driver for pure magnetic field. More...
#include <G4BFieldIntegrationDriver.hh>
Additional Inherited Members | |
| Static Protected Attributes inherited from G4VIntegrationDriver | |
| static constexpr G4double | max_stepping_increase = 5 |
| static constexpr G4double | max_stepping_decrease = 0.1 |
G4BFieldIntegrationDriver is specialised integration driver for pure magnetic field.
Definition at line 48 of file G4BFieldIntegrationDriver.hh.
| G4BFieldIntegrationDriver::G4BFieldIntegrationDriver | ( | std::unique_ptr< G4VIntegrationDriver > | smallStepDriver, |
| std::unique_ptr< G4VIntegrationDriver > | largeStepDriver ) |
Constructor for the integrator driver.
| [in] | smallStepDriver | Pointer to driver for small steps. |
| [in] | largeStepDriver | Pointer to driver for large steps. |
Definition at line 61 of file G4BFieldIntegrationDriver.cc.
Referenced by G4BFieldIntegrationDriver(), and operator=().
|
overridedefault |
Default Destructor.
|
delete |
Copy constructor and assignment operator not allowed.
|
inlineoverridevirtual |
Integrates ODE from current s (s=s0) to s=s0+h with accuracy eps.
| [in,out] | track | The current track in field. |
| [in] | hstep | Proposed step length. |
| [in] | eps | Requested accuracy, y_err/hstep. |
| [in] | hinitial | Initial minimum integration step. |
Implements G4VIntegrationDriver.
|
overridevirtual |
Computes the step to take, based on chord limits.
| [in,out] | track | The current track in field. |
| [in] | hstep | Proposed step length. |
| [in] | eps | Requested accuracy, y_err/hstep. |
| [in] | chordDistance | Maximum sagitta distance. |
Implements G4VIntegrationDriver.
Definition at line 77 of file G4BFieldIntegrationDriver.cc.
|
inlineoverridevirtual |
Computes a step size for the next step, taking the last step's normalised error 'errMaxNorm'.
| [in] | errMaxNorm | The normalised error on last step. |
| [in] | hstepCurrent | The current proposed step. |
Implements G4VIntegrationDriver.
|
inlineoverridevirtual |
Checks whether the driver implements re-integration.
Implements G4VIntegrationDriver.
|
inlineoverridevirtual |
[[deprecated("will be removed")]]
Implements G4VIntegrationDriver.
|
inlineoverridevirtual |
[[deprecated("will be removed")]]
Implements G4VIntegrationDriver.
|
inlineoverridevirtual |
Implements G4VIntegrationDriver.
Referenced by G4BFieldIntegrationDriver().
|
inlineoverridevirtual |
[[deprecated("use GetEquationOfMotion() instead of GetStepper()->GetEquationOfMotion()")]]
Implements G4VIntegrationDriver.
|
inlineoverridevirtual |
Returns a pointer to the integrator stepper.
Implements G4VIntegrationDriver.
|
inlineoverridevirtual |
Implements G4VIntegrationDriver.
|
inlineoverridevirtual |
Dispatch interface method for computing step.
Implements G4VIntegrationDriver.
|
inlineoverridevirtual |
Dispatch interface method for initialisation/reset of driver.
Implements G4VIntegrationDriver.
|
delete |
| void G4BFieldIntegrationDriver::PrintStatistics | ( | ) | const |
Prints out statistics of the integrator driver.
Definition at line 148 of file G4BFieldIntegrationDriver.cc.
|
overridevirtual |
Setter and getter for the equation of motion.
Implements G4VIntegrationDriver.
Definition at line 109 of file G4BFieldIntegrationDriver.cc.
|
inlineoverridevirtual |
Setter and getter for verbosity.
Implements G4VIntegrationDriver.
|
inlineoverridevirtual |
Writes out to stream the parameters/state of the driver.
Implements G4VIntegrationDriver.