Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4InterpolationDriver< T > Class Template Reference

#include <G4InterpolationDriver.hh>

+ Inheritance diagram for G4InterpolationDriver< T >:

Public Member Functions

 G4InterpolationDriver (G4double hminimum, T *stepper, G4int numberOfComponents=6, G4int statisticsVerbosity=0)
 
virtual ~G4InterpolationDriver () override
 
 G4InterpolationDriver (const G4InterpolationDriver &)=delete
 
const G4InterpolationDriveroperator= (const G4InterpolationDriver &)=delete
 
virtual G4double AdvanceChordLimited (G4FieldTrack &track, G4double hstep, G4double eps, G4double chordDistance) override
 
virtual void OnStartTracking () override
 
virtual void OnComputeStep () override
 
virtual G4bool DoesReIntegrate () const override
 
virtual G4bool AccurateAdvance (G4FieldTrack &track, G4double hstep, G4double eps, G4double hinitial=0) override
 
virtual void SetVerboseLevel (G4int level) override
 
virtual G4int GetVerboseLevel () const override
 
virtual void StreamInfo (std::ostream &os) const override
 
- Public Member Functions inherited from G4RKIntegrationDriver< T >
 G4RKIntegrationDriver (T *stepper)
 
 G4RKIntegrationDriver (const G4RKIntegrationDriver &)=delete
 
G4RKIntegrationDriveroperator= (const G4RKIntegrationDriver &)=delete
 
virtual void GetDerivatives (const G4FieldTrack &track, G4double dydx[]) const override
 
virtual void GetDerivatives (const G4FieldTrack &track, G4double dydx[], G4double field[]) const override
 
virtual G4double ComputeNewStepSize (G4double errMaxNorm, G4double hstepCurrent) override final
 
virtual G4EquationOfMotionGetEquationOfMotion () override
 
virtual void SetEquationOfMotion (G4EquationOfMotion *equation) override
 
virtual const T * GetStepper () const override
 
virtual T * GetStepper () override
 
virtual void StreamInfo (std::ostream &os) const override
 
G4double GetSafety () const
 
G4double GetPshrnk () const
 
G4double GetPgrow () const
 
virtual void RenewStepperAndAdjust (G4MagIntegratorStepper *stepper) override
 
void ReSetParameters (G4double safety=0.9)
 
void SetSafety (G4double valS)
 
G4int GetMaxNoSteps () const
 
void SetMaxNoSteps (G4int val)
 
G4double GetSmallestFraction () const
 
void SetSmallestFraction (G4double val)
 
- Public Member Functions inherited from G4VIntegrationDriver
virtual ~G4VIntegrationDriver ()=default
 
virtual G4double AdvanceChordLimited (G4FieldTrack &track, G4double hstep, G4double eps, G4double chordDistance)=0
 
virtual G4bool AccurateAdvance (G4FieldTrack &track, G4double hstep, G4double eps, G4double hinitial=0)=0
 
virtual void SetEquationOfMotion (G4EquationOfMotion *equation)=0
 
virtual G4EquationOfMotionGetEquationOfMotion ()=0
 
virtual void RenewStepperAndAdjust (G4MagIntegratorStepper *pItsStepper)
 
virtual void SetVerboseLevel (G4int level)=0
 
virtual G4int GetVerboseLevel () const =0
 
virtual void OnComputeStep ()=0
 
virtual void OnStartTracking ()=0
 
virtual G4bool QuickAdvance (G4FieldTrack &, const G4double[], G4double, G4double &, G4double &)
 
virtual void GetDerivatives (const G4FieldTrack &track, G4double dydx[]) const =0
 
virtual void GetDerivatives (const G4FieldTrack &track, G4double dydx[], G4double field[]) const =0
 
virtual const G4MagIntegratorStepperGetStepper () const =0
 
virtual G4MagIntegratorStepperGetStepper ()=0
 
virtual G4double ComputeNewStepSize (G4double errMaxNorm, G4double hstepCurrent)=0
 
virtual G4bool DoesReIntegrate () const =0
 
virtual void StreamInfo (std::ostream &os) const =0
 

Additional Inherited Members

- Protected Member Functions inherited from G4RKIntegrationDriver< T >
G4double ShrinkStepSize (G4double h, G4double error) const
 
G4double GrowStepSize (G4double h, G4double error) const
 
G4double ShrinkStepSize2 (G4double h, G4double error2) const
 
G4double GrowStepSize2 (G4double h, G4double error2) const
 
void UpdateErrorConstraints ()
 
- Static Protected Attributes inherited from G4VIntegrationDriver
static constexpr G4double max_stepping_increase = 5
 
static constexpr G4double max_stepping_decrease = 0.1
 

Detailed Description

template<class T>
class G4InterpolationDriver< T >

Definition at line 47 of file G4InterpolationDriver.hh.

Constructor & Destructor Documentation

◆ G4InterpolationDriver() [1/2]

template<class T >
G4InterpolationDriver< T >::G4InterpolationDriver ( G4double  hminimum,
T *  stepper,
G4int  numberOfComponents = 6,
G4int  statisticsVerbosity = 0 
)

◆ ~G4InterpolationDriver()

template<class T >
virtual G4InterpolationDriver< T >::~G4InterpolationDriver ( )
overridevirtual

◆ G4InterpolationDriver() [2/2]

template<class T >
G4InterpolationDriver< T >::G4InterpolationDriver ( const G4InterpolationDriver< T > &  )
delete

Member Function Documentation

◆ AccurateAdvance()

template<class T >
virtual G4bool G4InterpolationDriver< T >::AccurateAdvance ( G4FieldTrack track,
G4double  hstep,
G4double  eps,
G4double  hinitial = 0 
)
overridevirtual

Implements G4VIntegrationDriver.

◆ AdvanceChordLimited()

template<class T >
virtual G4double G4InterpolationDriver< T >::AdvanceChordLimited ( G4FieldTrack track,
G4double  hstep,
G4double  eps,
G4double  chordDistance 
)
overridevirtual

Implements G4VIntegrationDriver.

◆ DoesReIntegrate()

template<class T >
virtual G4bool G4InterpolationDriver< T >::DoesReIntegrate ( ) const
inlineoverridevirtual

Implements G4VIntegrationDriver.

Definition at line 68 of file G4InterpolationDriver.hh.

68{ return false; }

◆ GetVerboseLevel()

template<class T >
virtual G4int G4InterpolationDriver< T >::GetVerboseLevel ( ) const
overridevirtual

Implements G4VIntegrationDriver.

◆ OnComputeStep()

template<class T >
virtual void G4InterpolationDriver< T >::OnComputeStep ( )
overridevirtual

Implements G4VIntegrationDriver.

◆ OnStartTracking()

template<class T >
virtual void G4InterpolationDriver< T >::OnStartTracking ( )
overridevirtual

Implements G4VIntegrationDriver.

◆ operator=()

template<class T >
const G4InterpolationDriver & G4InterpolationDriver< T >::operator= ( const G4InterpolationDriver< T > &  )
delete

◆ SetVerboseLevel()

template<class T >
virtual void G4InterpolationDriver< T >::SetVerboseLevel ( G4int  level)
overridevirtual

Implements G4VIntegrationDriver.

◆ StreamInfo()

template<class T >
virtual void G4InterpolationDriver< T >::StreamInfo ( std::ostream &  os) const
overridevirtual

Reimplemented from G4RKIntegrationDriver< T >.


The documentation for this class was generated from the following file: