Geant4-11
Public Member Functions | Private Member Functions | Private Attributes
G4ChordFinderDelegate< Driver > Class Template Reference

#include <G4ChordFinderDelegate.hh>

Public Member Functions

G4double AdvanceChordLimitedImpl (G4FieldTrack &track, G4double hstep, G4double eps, G4double chordDistance)
 
G4double GetFirstFraction ()
 
G4double GetFractionLast ()
 
G4double GetFractionNextEstimate ()
 
G4double GetLastStepEstimateUnc ()
 
G4int GetNoCalls ()
 
G4int GetNoMaxTrials ()
 
G4int GetNoTrials ()
 
void ResetStepEstimate ()
 
void SetFirstFraction (G4double fractFirst)
 
void SetFractions_Last_Next (G4double fractLast=0.90, G4double fractNext=0.95)
 
void SetLastStepEstimateUnc (G4double stepEst)
 
void StreamDelegateInfo (std::ostream &os) const
 
void TestChordPrint (G4int noTrials, G4int lastStepTrial, G4double dChordStep, G4double fDeltaChord, G4double nextStepTrial)
 
virtual ~G4ChordFinderDelegate ()
 

Private Member Functions

void AccumulateStatistics (G4int noTrials)
 
G4double FindNextChord (const G4FieldTrack &yStart, G4double stepMax, G4double epsStep, G4double chordDistance, G4FieldTrack &yEnd, G4double &dyErrPos, G4double &pStepForAccuracy)
 
Driver & GetDriver ()
 
G4double NewStep (G4double stepTrialOld, G4double dChordStep, G4double fDeltaChord, G4double &stepEstimate_Unconstrained)
 
void PrintStatistics ()
 

Private Attributes

G4double fFirstFraction = 0.999
 
G4double fFractionLast = 1.0
 
G4double fFractionNextEstimate = 0.98
 
G4double fLastStepEstimate_Unconstrained = DBL_MAX
 
G4int fmaxTrials = 0
 
G4int fNoCalls = 0
 
G4int fTotalNoTrials = 0
 

Detailed Description

template<class Driver>
class G4ChordFinderDelegate< Driver >

Definition at line 41 of file G4ChordFinderDelegate.hh.

Constructor & Destructor Documentation

◆ ~G4ChordFinderDelegate()

template<class Driver >
virtual G4ChordFinderDelegate< Driver >::~G4ChordFinderDelegate ( )
virtual

Member Function Documentation

◆ AccumulateStatistics()

template<class Driver >
void G4ChordFinderDelegate< Driver >::AccumulateStatistics ( G4int  noTrials)
private

◆ AdvanceChordLimitedImpl()

template<class Driver >
G4double G4ChordFinderDelegate< Driver >::AdvanceChordLimitedImpl ( G4FieldTrack track,
G4double  hstep,
G4double  eps,
G4double  chordDistance 
)

◆ FindNextChord()

template<class Driver >
G4double G4ChordFinderDelegate< Driver >::FindNextChord ( const G4FieldTrack yStart,
G4double  stepMax,
G4double  epsStep,
G4double  chordDistance,
G4FieldTrack yEnd,
G4double dyErrPos,
G4double pStepForAccuracy 
)
private

◆ GetDriver()

template<class Driver >
Driver & G4ChordFinderDelegate< Driver >::GetDriver ( )
private

◆ GetFirstFraction()

template<class Driver >
G4double G4ChordFinderDelegate< Driver >::GetFirstFraction ( )

◆ GetFractionLast()

template<class Driver >
G4double G4ChordFinderDelegate< Driver >::GetFractionLast ( )

◆ GetFractionNextEstimate()

template<class Driver >
G4double G4ChordFinderDelegate< Driver >::GetFractionNextEstimate ( )

◆ GetLastStepEstimateUnc()

template<class Driver >
G4double G4ChordFinderDelegate< Driver >::GetLastStepEstimateUnc ( )

◆ GetNoCalls()

template<class Driver >
G4int G4ChordFinderDelegate< Driver >::GetNoCalls ( )

◆ GetNoMaxTrials()

template<class Driver >
G4int G4ChordFinderDelegate< Driver >::GetNoMaxTrials ( )

◆ GetNoTrials()

template<class Driver >
G4int G4ChordFinderDelegate< Driver >::GetNoTrials ( )

◆ NewStep()

template<class Driver >
G4double G4ChordFinderDelegate< Driver >::NewStep ( G4double  stepTrialOld,
G4double  dChordStep,
G4double  fDeltaChord,
G4double stepEstimate_Unconstrained 
)
private

◆ PrintStatistics()

template<class Driver >
void G4ChordFinderDelegate< Driver >::PrintStatistics ( )
private

◆ ResetStepEstimate()

template<class Driver >
void G4ChordFinderDelegate< Driver >::ResetStepEstimate ( )

◆ SetFirstFraction()

template<class Driver >
void G4ChordFinderDelegate< Driver >::SetFirstFraction ( G4double  fractFirst)

◆ SetFractions_Last_Next()

template<class Driver >
void G4ChordFinderDelegate< Driver >::SetFractions_Last_Next ( G4double  fractLast = 0.90,
G4double  fractNext = 0.95 
)

◆ SetLastStepEstimateUnc()

template<class Driver >
void G4ChordFinderDelegate< Driver >::SetLastStepEstimateUnc ( G4double  stepEst)

◆ StreamDelegateInfo()

template<class Driver >
void G4ChordFinderDelegate< Driver >::StreamDelegateInfo ( std::ostream &  os) const

◆ TestChordPrint()

template<class Driver >
void G4ChordFinderDelegate< Driver >::TestChordPrint ( G4int  noTrials,
G4int  lastStepTrial,
G4double  dChordStep,
G4double  fDeltaChord,
G4double  nextStepTrial 
)

Field Documentation

◆ fFirstFraction

template<class Driver >
G4double G4ChordFinderDelegate< Driver >::fFirstFraction = 0.999
private

Definition at line 101 of file G4ChordFinderDelegate.hh.

◆ fFractionLast

template<class Driver >
G4double G4ChordFinderDelegate< Driver >::fFractionLast = 1.0
private

Definition at line 102 of file G4ChordFinderDelegate.hh.

◆ fFractionNextEstimate

template<class Driver >
G4double G4ChordFinderDelegate< Driver >::fFractionNextEstimate = 0.98
private

Definition at line 103 of file G4ChordFinderDelegate.hh.

◆ fLastStepEstimate_Unconstrained

template<class Driver >
G4double G4ChordFinderDelegate< Driver >::fLastStepEstimate_Unconstrained = DBL_MAX
private

Definition at line 104 of file G4ChordFinderDelegate.hh.

◆ fmaxTrials

template<class Driver >
G4int G4ChordFinderDelegate< Driver >::fmaxTrials = 0
private

Definition at line 108 of file G4ChordFinderDelegate.hh.

◆ fNoCalls

template<class Driver >
G4int G4ChordFinderDelegate< Driver >::fNoCalls = 0
private

Definition at line 107 of file G4ChordFinderDelegate.hh.

◆ fTotalNoTrials

template<class Driver >
G4int G4ChordFinderDelegate< Driver >::fTotalNoTrials = 0
private

Definition at line 106 of file G4ChordFinderDelegate.hh.


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