ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/magneticfield/include/G4MagIntegratorDriver.hh>
Protected Member Functions | |
void | WarnSmallStepSize (G4double hnext, G4double hstep, G4double h, G4double xDone, G4int noSteps) |
void | WarnTooManyStep (G4double x1start, G4double x2end, G4double xCurrent) |
void | WarnEndPointTooFar (G4double endPointDist, G4double hStepSize, G4double epsilonRelative, G4int debugFlag) |
void | PrintStatus (const G4double *StartArr, G4double xstart, const G4double *CurrentArr, G4double xcurrent, G4double requestStep, G4int subStepNo) |
void | PrintStatus (const G4FieldTrack &StartFT, const G4FieldTrack &CurrentFT, G4double requestStep, G4int subStepNo) |
void | PrintStat_Aux (const G4FieldTrack &aFieldTrack, G4double requestStep, G4double actualStep, G4int subStepNo, G4double subStepSize, G4double dotVelocities) |
void | PrintStatisticsReport () |
Private Types | |
using | ChordFinderDelegate = G4ChordFinderDelegate< G4MagInt_Driver > |
Private Attributes | |
G4double | fMinimumStep = 0.0 |
G4double | fSmallestFraction = 1.0e-12 |
const G4int | fNoIntegrationVariables = 0 |
const G4int | fMinNoVars = 12 |
const G4int | fNoVars = 0 |
G4int | fMaxNoSteps |
G4int | fMaxStepBase = 250 |
G4double | safety |
G4double | pshrnk |
G4double | pgrow |
G4double | errcon |
G4int | fStatisticsVerboseLevel = 0 |
G4MagIntegratorStepper * | pIntStepper = nullptr |
unsigned long | fNoTotalSteps =0 |
unsigned long | fNoBadSteps =0 |
unsigned long | fNoSmallSteps =0 |
unsigned long | fNoInitialSmallSteps =0 |
unsigned long | fNoCalls =0 |
G4double | fDyerr_max =0.0 |
G4double | fDyerr_mx2 =0.0 |
G4double | fDyerrPos_smTot =0.0 |
G4double | fDyerrPos_lgTot =0.0 |
G4double | fDyerrVel_lgTot =0.0 |
G4double | fSumH_sm =0.0 |
G4double | fSumH_lg =0.0 |
G4int | fVerboseLevel = 0 |
Additional Inherited Members | |
Static Protected Attributes inherited from G4VIntegrationDriver | |
static constexpr G4double | max_stepping_increase = 5 |
static constexpr G4double | max_stepping_decrease = 0.1 |
Definition at line 44 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 44 of file G4MagIntegratorDriver.hh
|
private |
Definition at line 261 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 261 of file G4MagIntegratorDriver.hh
G4MagInt_Driver::G4MagInt_Driver | ( | G4double | hminimum, |
G4MagIntegratorStepper * | pItsStepper, | ||
G4int | numberOfComponents = 6 , |
||
G4int | statisticsVerbosity = 0 |
||
) |
Definition at line 45 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 45 of file G4MagIntegratorDriver.cc
References fMaxNoSteps, fMaxStepBase, fMinimumStep, fStatisticsVerboseLevel, fVerboseLevel, G4cout, G4endl, G4MagIntegratorStepper::IntegratorOrder(), pIntStepper, and RenewStepperAndAdjust().
|
overridevirtual |
Definition at line 81 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 81 of file G4MagIntegratorDriver.cc
References fStatisticsVerboseLevel, and PrintStatisticsReport().
|
delete |
|
overridevirtual |
Implements G4VIntegrationDriver.
Definition at line 92 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 92 of file G4MagIntegratorDriver.cc
References ComputeNewStepSize(), G4FieldTrack::DumpToArray(), eps, EventMustBeAborted, FatalException, fDyerr_max, fDyerrPos_smTot, fMaxNoSteps, fMinimumStep, fNoBadSteps, fNoInitialSmallSteps, fNoIntegrationVariables, fNoSmallSteps, fNoTotalSteps, fNoVars, fSmallestFraction, fSumH_sm, G4cerr, G4cout, G4endl, G4Exception(), G4ThreadLocal, G4FieldTrack::GetCurveLength(), Acts::UnitConstants::h, Hmin(), JustWarning, G4FieldTrack::LoadFromArray(), message(), G4FieldTrack::ncompSVEC, OneGoodStep(), perMillion, perThousand, pIntStepper, CLHEP::prec, PrintStatus(), QuickAdvance(), G4MagIntegratorStepper::RightHandSide(), G4FieldTrack::SetCurveLength(), WarnEndPointTooFar(), WarnSmallStepSize(), WarnTooManyStep(), x, x1, x2, and y.
Referenced by G4RKPropagation::FieldTransport().
|
inlineoverridevirtual |
Implements G4VIntegrationDriver.
|
inline |
|
overridevirtual |
Implements G4VIntegrationDriver.
Definition at line 722 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 722 of file G4MagIntegratorDriver.cc
References GetPgrow(), GetPshrnk(), GetSafety(), and G4VIntegrationDriver::max_stepping_increase.
Referenced by AccurateAdvance(), and QuickAdvance().
G4double G4MagInt_Driver::ComputeNewStepSize_WithinLimits | ( | G4double | errMaxNorm, |
G4double | hstepCurrent | ||
) |
Definition at line 755 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 755 of file G4MagIntegratorDriver.cc
References errcon, GetPgrow(), GetPshrnk(), GetSafety(), G4VIntegrationDriver::max_stepping_decrease, and G4VIntegrationDriver::max_stepping_increase.
|
inlineoverridevirtual |
Implements G4VIntegrationDriver.
Definition at line 66 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 66 of file G4MagIntegratorDriver.hh
|
overridevirtual |
Implements G4VIntegrationDriver.
|
overridevirtual |
Implements G4VIntegrationDriver.
Definition at line 984 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 984 of file G4MagIntegratorDriver.cc
References G4FieldTrack::DumpToArray(), G4FieldTrack::ncompSVEC, pIntStepper, and G4MagIntegratorStepper::RightHandSide().
|
overridevirtual |
Implements G4VIntegrationDriver.
Definition at line 993 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 993 of file G4MagIntegratorDriver.cc
References G4MagIntegratorStepper::GetEquationOfMotion(), and pIntStepper.
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by ComputeNewStepSize(), ComputeNewStepSize_WithinLimits(), and OneGoodStep().
|
inline |
Referenced by ComputeNewStepSize(), ComputeNewStepSize_WithinLimits(), and OneGoodStep().
|
inline |
Referenced by ComputeNewStepSize(), ComputeNewStepSize_WithinLimits(), and OneGoodStep().
|
inline |
|
overridevirtual |
Implements G4VIntegrationDriver.
Definition at line 1003 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 1003 of file G4MagIntegratorDriver.cc
References pIntStepper.
|
overridevirtual |
Implements G4VIntegrationDriver.
Definition at line 1008 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 1008 of file G4MagIntegratorDriver.cc
References pIntStepper.
|
overridevirtual |
Implements G4VIntegrationDriver.
|
inline |
Referenced by AccurateAdvance(), and WarnSmallStepSize().
|
inlineoverridevirtual |
Implements G4VIntegrationDriver.
Definition at line 65 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 65 of file G4MagIntegratorDriver.hh
void G4MagInt_Driver::OneGoodStep | ( | G4double | ystart[], |
const G4double | dydx[], | ||
G4double & | x, | ||
G4double | htry, | ||
G4double | eps, | ||
G4double & | hdid, | ||
G4double & | hnext | ||
) |
Definition at line 480 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 480 of file G4MagIntegratorDriver.cc
References errcon, fMinimumStep, fNoIntegrationVariables, G4endl, G4Exception(), G4ThreadLocal, GetPgrow(), GetPshrnk(), GetSafety(), Acts::UnitConstants::h, JustWarning, k, CLHEP::Hep3Vector::mag2(), max, G4VIntegrationDriver::max_stepping_increase, message(), G4FieldTrack::ncompSVEC, pIntStepper, and sqr().
Referenced by AccurateAdvance().
|
inlineoverridevirtual |
Implements G4VIntegrationDriver.
|
delete |
|
protected |
Definition at line 875 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 875 of file G4MagIntegratorDriver.cc
References G4cout, G4endl, G4ThreadLocal, G4FieldTrack::GetCurveLength(), G4FieldTrack::GetKineticEnergy(), G4FieldTrack::GetMomentumDir(), G4FieldTrack::GetPosition(), CLHEP::Hep3Vector::mag2(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by PrintStatus().
|
protected |
Definition at line 940 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 940 of file G4MagIntegratorDriver.cc
References fNoBadSteps, fNoInitialSmallSteps, fNoSmallSteps, fNoTotalSteps, G4cout, and G4endl.
Referenced by ~G4MagInt_Driver().
|
protected |
Definition at line 787 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 787 of file G4MagIntegratorDriver.cc
References fNoIntegrationVariables, G4FieldTrack::LoadFromArray(), and G4FieldTrack::SetCurveLength().
Referenced by AccurateAdvance(), and QuickAdvance().
|
protected |
Definition at line 812 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 812 of file G4MagIntegratorDriver.cc
References CLHEP::Hep3Vector::dot(), fVerboseLevel, G4cout, G4endl, G4FieldTrack::GetCurveLength(), G4FieldTrack::GetMomentumDir(), G4FieldTrack::GetPosition(), and PrintStat_Aux().
|
overridevirtual |
Reimplemented from G4VIntegrationDriver.
Definition at line 625 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 625 of file G4MagIntegratorDriver.cc
References ComputeNewStepSize(), G4FieldTrack::DumpToArray(), eps, fNoIntegrationVariables, fVerboseLevel, G4cout, G4endl, G4ThreadLocal, G4FieldTrack::GetCurveLength(), G4FieldTrack::LoadFromArray(), G4FieldTrack::ncompSVEC, pIntStepper, PrintStatus(), G4FieldTrack::SetCurveLength(), and sqr().
Referenced by AccurateAdvance().
G4bool G4MagInt_Driver::QuickAdvance | ( | G4FieldTrack & | y_posvel, |
const G4double | dydx[], | ||
G4double | hstep, | ||
G4double & | dchord_step, | ||
G4double & | dyerr_pos_sq, | ||
G4double & | dyerr_mom_rel_sq | ||
) |
Definition at line 606 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 606 of file G4MagIntegratorDriver.cc
References FatalException, G4Exception(), G4FieldTrack::GetPosition(), and CLHEP::Hep3Vector::mag2().
|
overridevirtual |
Reimplemented from G4VIntegrationDriver.
Definition at line 1014 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 1014 of file G4MagIntegratorDriver.cc
References pIntStepper, and ReSetParameters().
Referenced by F02ElectricFieldSetup::CreateStepper(), and G4MagInt_Driver().
|
overridevirtual |
Implements G4VIntegrationDriver.
Definition at line 998 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 998 of file G4MagIntegratorDriver.cc
References pIntStepper, and G4MagIntegratorStepper::SetEquationOfMotion().
Definition at line 957 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 957 of file G4MagIntegratorDriver.cc
References e, fSmallestFraction, G4endl, G4Exception(), JustWarning, and message().
Implements G4VIntegrationDriver.
|
protected |
Definition at line 444 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 444 of file G4MagIntegratorDriver.cc
References eps, G4endl, G4Exception(), G4ThreadLocal, G4GeometryTolerance::GetInstance(), G4GeometryTolerance::GetSurfaceTolerance(), JustWarning, and message().
Referenced by AccurateAdvance().
|
protected |
Definition at line 395 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 395 of file G4MagIntegratorDriver.cc
References fVerboseLevel, G4endl, G4Exception(), G4ThreadLocal, Hmin(), JustWarning, and message().
Referenced by AccurateAdvance().
|
protected |
Definition at line 427 of file G4MagIntegratorDriver.cc.
View newest version in sPHENIX GitHub at line 427 of file G4MagIntegratorDriver.cc
References G4endl, G4Exception(), JustWarning, and message().
Referenced by AccurateAdvance().
|
private |
Definition at line 238 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 238 of file G4MagIntegratorDriver.hh
Referenced by ComputeNewStepSize_WithinLimits(), and OneGoodStep().
|
private |
Definition at line 253 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 253 of file G4MagIntegratorDriver.hh
Referenced by AccurateAdvance().
|
private |
Definition at line 253 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 253 of file G4MagIntegratorDriver.hh
|
private |
Definition at line 254 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 254 of file G4MagIntegratorDriver.hh
|
private |
Definition at line 254 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 254 of file G4MagIntegratorDriver.hh
Referenced by AccurateAdvance().
|
private |
Definition at line 254 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 254 of file G4MagIntegratorDriver.hh
|
private |
Definition at line 231 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 231 of file G4MagIntegratorDriver.hh
Referenced by AccurateAdvance(), and G4MagInt_Driver().
|
private |
Definition at line 232 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 232 of file G4MagIntegratorDriver.hh
Referenced by G4MagInt_Driver().
|
private |
Definition at line 221 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 221 of file G4MagIntegratorDriver.hh
Referenced by AccurateAdvance(), G4MagInt_Driver(), and OneGoodStep().
|
private |
Definition at line 228 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 228 of file G4MagIntegratorDriver.hh
|
private |
Definition at line 251 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 251 of file G4MagIntegratorDriver.hh
Referenced by AccurateAdvance(), and PrintStatisticsReport().
|
private |
Definition at line 252 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 252 of file G4MagIntegratorDriver.hh
|
private |
Definition at line 252 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 252 of file G4MagIntegratorDriver.hh
Referenced by AccurateAdvance(), and PrintStatisticsReport().
|
private |
Definition at line 227 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 227 of file G4MagIntegratorDriver.hh
Referenced by AccurateAdvance(), OneGoodStep(), PrintStatus(), and QuickAdvance().
|
private |
Definition at line 252 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 252 of file G4MagIntegratorDriver.hh
Referenced by AccurateAdvance(), and PrintStatisticsReport().
|
private |
Definition at line 251 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 251 of file G4MagIntegratorDriver.hh
Referenced by AccurateAdvance(), and PrintStatisticsReport().
|
private |
Definition at line 229 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 229 of file G4MagIntegratorDriver.hh
Referenced by AccurateAdvance().
|
private |
Definition at line 223 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 223 of file G4MagIntegratorDriver.hh
Referenced by AccurateAdvance(), and SetSmallestFraction().
|
private |
Definition at line 241 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 241 of file G4MagIntegratorDriver.hh
Referenced by G4MagInt_Driver(), and ~G4MagInt_Driver().
|
private |
Definition at line 255 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 255 of file G4MagIntegratorDriver.hh
|
private |
Definition at line 255 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 255 of file G4MagIntegratorDriver.hh
Referenced by AccurateAdvance().
|
private |
Definition at line 258 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 258 of file G4MagIntegratorDriver.hh
Referenced by G4MagInt_Driver(), PrintStatus(), QuickAdvance(), and WarnSmallStepSize().
|
private |
Definition at line 237 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 237 of file G4MagIntegratorDriver.hh
|
private |
Definition at line 246 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 246 of file G4MagIntegratorDriver.hh
Referenced by AccurateAdvance(), G4MagInt_Driver(), GetDerivatives(), GetEquationOfMotion(), GetStepper(), OneGoodStep(), QuickAdvance(), RenewStepperAndAdjust(), and SetEquationOfMotion().
|
private |
Definition at line 236 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 236 of file G4MagIntegratorDriver.hh
|
private |
Definition at line 235 of file G4MagIntegratorDriver.hh.
View newest version in sPHENIX GitHub at line 235 of file G4MagIntegratorDriver.hh