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

#include <G4BulirschStoerDriver.hh>

+ Inheritance diagram for G4IntegrationDriver< G4BulirschStoer >:

Public Member Functions

 G4IntegrationDriver (G4double hminimum, G4BulirschStoer *stepper, G4int numberOfComponents=6, G4int statisticsVerbosity=1)
 
 ~G4IntegrationDriver ()=default
 
 G4IntegrationDriver (const G4IntegrationDriver &)=delete
 
G4IntegrationDriveroperator= (const G4IntegrationDriver &)=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 stepLen, G4double eps, G4double beginStep=0) override
 ????
 
virtual G4bool QuickAdvance (G4FieldTrack &y_val, const G4double dydx[], G4double hstep, G4double &missDist, G4double &dyerr) override
 
void OneGoodStep (G4double y[], const G4double dydx[], G4double &curveLength, G4double htry, G4double eps, G4double &hdid, G4double &hnext)
 
virtual void GetDerivatives (const G4FieldTrack &track, G4double dydx[]) const override
 
virtual void GetDerivatives (const G4FieldTrack &track, G4double dydx[], G4double field[]) const override
 
virtual void SetVerboseLevel (G4int level) override
 
virtual G4int GetVerboseLevel () const override
 
virtual G4double ComputeNewStepSize (G4double errMaxNorm, G4double hstepCurrent) override
 
virtual G4EquationOfMotionGetEquationOfMotion () override
 
const G4EquationOfMotionGetEquationOfMotion () const
 
virtual void SetEquationOfMotion (G4EquationOfMotion *equation) override
 
virtual const G4MagIntegratorStepperGetStepper () const override
 
virtual G4MagIntegratorStepperGetStepper () override
 
virtual void StreamInfo (std::ostream &os) const override
 
- 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
 
- Public Member Functions inherited from G4ChordFinderDelegate< G4IntegrationDriver< G4BulirschStoer > >
virtual ~G4ChordFinderDelegate ()
 
G4double AdvanceChordLimitedImpl (G4FieldTrack &track, G4double hstep, G4double eps, G4double chordDistance)
 
void ResetStepEstimate ()
 
void TestChordPrint (G4int noTrials, G4int lastStepTrial, G4double dChordStep, G4double fDeltaChord, G4double nextStepTrial)
 
G4int GetNoCalls ()
 
G4int GetNoTrials ()
 
G4int GetNoMaxTrials ()
 
void SetFractions_Last_Next (G4double fractLast=0.90, G4double fractNext=0.95)
 
void SetFirstFraction (G4double fractFirst)
 
G4double GetFirstFraction ()
 
G4double GetFractionLast ()
 
G4double GetFractionNextEstimate ()
 
G4double GetLastStepEstimateUnc ()
 
void SetLastStepEstimateUnc (G4double stepEst)
 
void StreamDelegateInfo (std::ostream &os) const
 

Additional Inherited Members

- Static Protected Attributes inherited from G4VIntegrationDriver
static constexpr G4double max_stepping_increase = 5
 
static constexpr G4double max_stepping_decrease = 0.1
 

Detailed Description

Definition at line 43 of file G4BulirschStoerDriver.hh.

Constructor & Destructor Documentation

◆ G4IntegrationDriver() [1/2]

G4IntegrationDriver< G4BulirschStoer >::G4IntegrationDriver ( G4double  hminimum,
G4BulirschStoer stepper,
G4int  numberOfComponents = 6,
G4int  statisticsVerbosity = 1 
)

◆ ~G4IntegrationDriver()

◆ G4IntegrationDriver() [2/2]

Member Function Documentation

◆ AccurateAdvance()

virtual G4bool G4IntegrationDriver< G4BulirschStoer >::AccurateAdvance ( G4FieldTrack track,
G4double  stepLen,
G4double  eps,
G4double  beginStep = 0 
)
overridevirtual

????

Implements G4VIntegrationDriver.

◆ AdvanceChordLimited()

virtual G4double G4IntegrationDriver< G4BulirschStoer >::AdvanceChordLimited ( G4FieldTrack track,
G4double  hstep,
G4double  eps,
G4double  chordDistance 
)
inlineoverridevirtual

Implements G4VIntegrationDriver.

Definition at line 59 of file G4BulirschStoerDriver.hh.

63 {
65 AdvanceChordLimitedImpl(track, hstep, eps, chordDistance);
66 }
G4double AdvanceChordLimitedImpl(G4FieldTrack &track, G4double hstep, G4double eps, G4double chordDistance)

◆ ComputeNewStepSize()

virtual G4double G4IntegrationDriver< G4BulirschStoer >::ComputeNewStepSize ( G4double  errMaxNorm,
G4double  hstepCurrent 
)
overridevirtual

Implements G4VIntegrationDriver.

◆ DoesReIntegrate()

virtual G4bool G4IntegrationDriver< G4BulirschStoer >::DoesReIntegrate ( ) const
inlineoverridevirtual

Implements G4VIntegrationDriver.

Definition at line 75 of file G4BulirschStoerDriver.hh.

75{ return false; } /// ????

◆ GetDerivatives() [1/2]

virtual void G4IntegrationDriver< G4BulirschStoer >::GetDerivatives ( const G4FieldTrack track,
G4double  dydx[] 
) const
overridevirtual

Implements G4VIntegrationDriver.

◆ GetDerivatives() [2/2]

virtual void G4IntegrationDriver< G4BulirschStoer >::GetDerivatives ( const G4FieldTrack track,
G4double  dydx[],
G4double  field[] 
) const
overridevirtual

Implements G4VIntegrationDriver.

◆ GetEquationOfMotion() [1/2]

const G4EquationOfMotion * G4IntegrationDriver< G4BulirschStoer >::GetEquationOfMotion ( ) const

◆ GetEquationOfMotion() [2/2]

virtual G4EquationOfMotion * G4IntegrationDriver< G4BulirschStoer >::GetEquationOfMotion ( )
overridevirtual

Implements G4VIntegrationDriver.

◆ GetStepper() [1/2]

virtual const G4MagIntegratorStepper * G4IntegrationDriver< G4BulirschStoer >::GetStepper ( ) const
overridevirtual

Implements G4VIntegrationDriver.

◆ GetStepper() [2/2]

virtual G4MagIntegratorStepper * G4IntegrationDriver< G4BulirschStoer >::GetStepper ( )
overridevirtual

Implements G4VIntegrationDriver.

◆ GetVerboseLevel()

virtual G4int G4IntegrationDriver< G4BulirschStoer >::GetVerboseLevel ( ) const
overridevirtual

Implements G4VIntegrationDriver.

◆ OnComputeStep()

virtual void G4IntegrationDriver< G4BulirschStoer >::OnComputeStep ( )
inlineoverridevirtual

Implements G4VIntegrationDriver.

Definition at line 73 of file G4BulirschStoerDriver.hh.

73{};

◆ OneGoodStep()

void G4IntegrationDriver< G4BulirschStoer >::OneGoodStep ( G4double  y[],
const G4double  dydx[],
G4double curveLength,
G4double  htry,
G4double  eps,
G4double hdid,
G4double hnext 
)

◆ OnStartTracking()

virtual void G4IntegrationDriver< G4BulirschStoer >::OnStartTracking ( )
inlineoverridevirtual

◆ operator=()

◆ QuickAdvance()

virtual G4bool G4IntegrationDriver< G4BulirschStoer >::QuickAdvance ( G4FieldTrack y_val,
const G4double  dydx[],
G4double  hstep,
G4double missDist,
G4double dyerr 
)
overridevirtual

Reimplemented from G4VIntegrationDriver.

◆ SetEquationOfMotion()

virtual void G4IntegrationDriver< G4BulirschStoer >::SetEquationOfMotion ( G4EquationOfMotion equation)
overridevirtual

Implements G4VIntegrationDriver.

◆ SetVerboseLevel()

virtual void G4IntegrationDriver< G4BulirschStoer >::SetVerboseLevel ( G4int  level)
overridevirtual

Implements G4VIntegrationDriver.

◆ StreamInfo()

virtual void G4IntegrationDriver< G4BulirschStoer >::StreamInfo ( std::ostream &  os) const
overridevirtual

Implements G4VIntegrationDriver.


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