Import Geant4 10.5.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2018-06-29 10:58:11 +02:00
parent fe81a77428
commit 6aa23be517
1581 changed files with 124288 additions and 83758 deletions
@@ -53,7 +53,8 @@
class G4VIntegrationDriver {
public:
G4VIntegrationDriver() = default;
G4VIntegrationDriver()
: max_stepping_increase(5), max_stepping_decrease(0.1) {};
virtual ~G4VIntegrationDriver() = default;
G4VIntegrationDriver(const G4VIntegrationDriver&) = delete;
@@ -80,6 +81,9 @@ public:
virtual const G4MagIntegratorStepper* GetStepper() const = 0;
virtual G4MagIntegratorStepper* GetStepper() = 0;
// Method for compatibility -- relevant only for G4MagIntegratorDriver
virtual void RenewStepperAndAdjust(G4MagIntegratorStepper *pItsStepper);
// Taking the last step's normalised error, calculate
// a step size for the next step.
// Do not limit the next step's size within a factor of the
@@ -89,6 +93,12 @@ public:
virtual void SetVerboseLevel(G4int level) = 0;
virtual G4int GetVerboseLevel() const = 0;
protected:
G4double max_stepping_increase;
G4double max_stepping_decrease;
};
#endif