Geant4.10
|
#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 () |
Definition at line 48 of file G4MagIntegratorDriver.hh.
G4MagInt_Driver::G4MagInt_Driver | ( | G4double | hminimum, |
G4MagIntegratorStepper * | pItsStepper, | ||
G4int | numberOfComponents = 6 , |
||
G4int | statisticsVerbosity = 1 |
||
) |
Definition at line 69 of file G4MagIntegratorDriver.cc.
References G4cout, G4endl, G4MagIntegratorStepper::IntegratorOrder(), and RenewStepperAndAdjust().
G4MagInt_Driver::~G4MagInt_Driver | ( | ) |
Definition at line 112 of file G4MagIntegratorDriver.cc.
References PrintStatisticsReport().
G4bool G4MagInt_Driver::AccurateAdvance | ( | G4FieldTrack & | y_current, |
G4double | hstep, | ||
G4double | eps, | ||
G4double | hinitial = 0.0 |
||
) |
Definition at line 127 of file G4MagIntegratorDriver.cc.
References ComputeNewStepSize(), G4MagIntegratorStepper::ComputeRightHandSide(), G4FieldTrack::DumpToArray(), EventMustBeAborted, FatalException, G4cerr, G4cout, G4endl, G4Exception(), G4ThreadLocal, G4FieldTrack::GetCurveLength(), Hmin(), JustWarning, G4FieldTrack::LoadFromArray(), G4FieldTrack::ncompSVEC, OneGoodStep(), python.hepunit::perMillion, python.hepunit::perThousand, PrintStatus(), QuickAdvance(), G4FieldTrack::SetCurveLength(), WarnEndPointTooFar(), WarnSmallStepSize(), WarnTooManyStep(), and test::x.
Referenced by G4ChordFinder::AdvanceChordLimited(), G4ChordFinder::ApproxCurvePointS(), G4ChordFinder::ApproxCurvePointV(), G4BrentLocator::EstimateIntersectionPoint(), G4MultiLevelLocator::EstimateIntersectionPoint(), and G4VIntersectionLocator::ReEstimateEndpoint().
|
inline |
Definition at line 754 of file G4MagIntegratorDriver.cc.
References GetPgrow(), GetPshrnk(), and GetSafety().
Referenced by AccurateAdvance(), G4ChordFinderSaf::FindNextChord(), G4ChordFinder::FindNextChord(), and QuickAdvance().
G4double G4MagInt_Driver::ComputeNewStepSize_WithinLimits | ( | G4double | errMaxNorm, |
G4double | hstepCurrent | ||
) |
Definition at line 784 of file G4MagIntegratorDriver.cc.
References GetPgrow(), GetPshrnk(), and GetSafety().
|
inline |
|
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 |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by AccurateAdvance(), and WarnSmallStepSize().
void G4MagInt_Driver::OneGoodStep | ( | G4double | ystart[], |
const G4double | dydx[], | ||
G4double & | x, | ||
G4double | htry, | ||
G4double | eps, | ||
G4double & | hdid, | ||
G4double & | hnext | ||
) |
Definition at line 515 of file G4MagIntegratorDriver.cc.
References G4cerr, G4endl, G4ThreadLocal, GetPgrow(), GetPshrnk(), GetSafety(), CLHEP::Hep3Vector::mag2(), G4INCL::Math::max(), G4FieldTrack::ncompSVEC, and sqr().
Referenced by AccurateAdvance().
|
protected |
Definition at line 919 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 985 of file G4MagIntegratorDriver.cc.
References G4cout, and G4endl.
Referenced by ~G4MagInt_Driver().
|
protected |
Definition at line 816 of file G4MagIntegratorDriver.cc.
References G4FieldTrack::LoadFromArray(), and G4FieldTrack::SetCurveLength().
Referenced by AccurateAdvance(), and QuickAdvance().
|
protected |
Definition at line 841 of file G4MagIntegratorDriver.cc.
References CLHEP::Hep3Vector::dot(), G4cout, G4endl, G4ThreadLocal, G4FieldTrack::GetCurveLength(), G4FieldTrack::GetMomentumDir(), G4FieldTrack::GetPosition(), and PrintStat_Aux().
G4bool G4MagInt_Driver::QuickAdvance | ( | G4FieldTrack & | y_val, |
const G4double | dydx[], | ||
G4double | hstep, | ||
G4double & | dchord_step, | ||
G4double & | dyerr | ||
) |
Definition at line 653 of file G4MagIntegratorDriver.cc.
References ComputeNewStepSize(), G4FieldTrack::DumpToArray(), G4cout, G4endl, G4ThreadLocal, G4FieldTrack::GetCurveLength(), G4FieldTrack::LoadFromArray(), G4FieldTrack::ncompSVEC, PrintStatus(), G4FieldTrack::SetCurveLength(), and sqr().
Referenced by AccurateAdvance(), G4ChordFinderSaf::FindNextChord(), and G4ChordFinder::FindNextChord().
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 634 of file G4MagIntegratorDriver.cc.
References FatalException, G4Exception(), G4FieldTrack::GetPosition(), and CLHEP::Hep3Vector::mag2().
|
inline |
Referenced by G4MagInt_Driver().
Definition at line 1033 of file G4MagIntegratorDriver.cc.
References G4cerr, and G4endl.
Referenced by G4PropagatorInField::SetVerboseLevel().
|
protected |
Definition at line 479 of file G4MagIntegratorDriver.cc.
References G4endl, G4Exception(), G4ThreadLocal, G4GeometryTolerance::GetInstance(), G4GeometryTolerance::GetSurfaceTolerance(), and JustWarning.
Referenced by AccurateAdvance().
|
protected |
Definition at line 430 of file G4MagIntegratorDriver.cc.
References G4endl, G4Exception(), G4ThreadLocal, Hmin(), and JustWarning.
Referenced by AccurateAdvance().
|
protected |
Definition at line 462 of file G4MagIntegratorDriver.cc.
References G4endl, G4Exception(), and JustWarning.
Referenced by AccurateAdvance().