Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VIntegrationDriver Class Referenceabstract

#include <G4VIntegrationDriver.hh>

+ Inheritance diagram for G4VIntegrationDriver:

Public Member Functions

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
 

Static Protected Attributes

static constexpr G4double max_stepping_increase = 5
 
static constexpr G4double max_stepping_decrease = 0.1
 

Friends

std::ostream & operator<< (std::ostream &os, const G4VIntegrationDriver &id)
 

Detailed Description

Definition at line 51 of file G4VIntegrationDriver.hh.

Constructor & Destructor Documentation

◆ ~G4VIntegrationDriver()

virtual G4VIntegrationDriver::~G4VIntegrationDriver ( )
virtualdefault

Member Function Documentation

◆ AccurateAdvance()

◆ AdvanceChordLimited()

◆ ComputeNewStepSize()

virtual G4double G4VIntegrationDriver::ComputeNewStepSize ( G4double  errMaxNorm,
G4double  hstepCurrent 
)
pure virtual

◆ DoesReIntegrate()

◆ GetDerivatives() [1/2]

virtual void G4VIntegrationDriver::GetDerivatives ( const G4FieldTrack track,
G4double  dydx[] 
) const
pure virtual

◆ GetDerivatives() [2/2]

virtual void G4VIntegrationDriver::GetDerivatives ( const G4FieldTrack track,
G4double  dydx[],
G4double  field[] 
) const
pure virtual

◆ GetEquationOfMotion()

◆ GetStepper() [1/2]

◆ GetStepper() [2/2]

◆ GetVerboseLevel()

◆ OnComputeStep()

◆ OnStartTracking()

◆ QuickAdvance()

virtual G4bool G4VIntegrationDriver::QuickAdvance ( G4FieldTrack ,
const  G4double[],
G4double  ,
G4double ,
G4double  
)
inlinevirtual

◆ RenewStepperAndAdjust()

void G4VIntegrationDriver::RenewStepperAndAdjust ( G4MagIntegratorStepper pItsStepper)
virtual

Reimplemented in G4MagInt_Driver, G4OldMagIntDriver, and G4RKIntegrationDriver< T >.

Definition at line 34 of file G4VIntegrationDriver.cc.

35{
36 G4Exception("G4VIntegrationDriver::RenewStepperAndAdjust",
37 "Geometry001", FatalException,
38 "This method exists only for the original G4MagIntegratorDriver class. "
39 "Not defined for other classes derived from G4VIntegrationDriver");
40}
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:35

◆ SetEquationOfMotion()

virtual void G4VIntegrationDriver::SetEquationOfMotion ( G4EquationOfMotion equation)
pure virtual

◆ SetVerboseLevel()

◆ StreamInfo()

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const G4VIntegrationDriver id 
)
friend

Definition at line 43 of file G4VIntegrationDriver.cc.

44{
45 id.StreamInfo( os );
46 return os;
47}

Member Data Documentation

◆ max_stepping_decrease

constexpr G4double G4VIntegrationDriver::max_stepping_decrease = 0.1
staticconstexprprotected

◆ max_stepping_increase


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