Geant4-11
|
#include <G4CashKarpRKF45.hh>
Public Member Functions | |
G4double | DistChord () const |
G4CashKarpRKF45 (G4EquationOfMotion *EqRhs, G4int numberOfVariables=6, G4bool primary=true) | |
G4EquationOfMotion * | GetEquationOfMotion () |
const G4EquationOfMotion * | GetEquationOfMotion () const |
unsigned long | GetfNoRHSCalls () |
G4int | GetNumberOfStateVariables () const |
G4int | GetNumberOfVariables () const |
G4int | IntegrationOrder () |
G4int | IntegratorOrder () const |
G4bool | IsFSAL () const |
void | NormalisePolarizationVector (G4double vec[12]) |
void | NormaliseTangentVector (G4double vec[6]) |
void | ResetfNORHSCalls () |
void | RightHandSide (const G4double y[], G4double dydx[]) const |
void | RightHandSide (const G4double y[], G4double dydx[], G4double field[]) const |
void | SetEquationOfMotion (G4EquationOfMotion *newEquation) |
void | Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[]) |
~G4CashKarpRKF45 () | |
Protected Member Functions | |
void | SetFSAL (G4bool flag=true) |
void | SetIntegrationOrder (G4int order) |
Private Member Functions | |
G4CashKarpRKF45 (const G4CashKarpRKF45 &) | |
G4CashKarpRKF45 & | operator= (const G4CashKarpRKF45 &) |
void | StepWithEst (const G4double yIn[], const G4double dydx[], G4double Step, G4double yOut[], G4double &alpha2, G4double &beta2, const G4double B1[], G4double B2[]) |
Private Attributes | |
G4double * | ak2 |
G4double * | ak3 |
G4double * | ak4 |
G4double * | ak5 |
G4double * | ak6 |
G4CashKarpRKF45 * | fAuxStepper = nullptr |
G4EquationOfMotion * | fEquation_Rhs = nullptr |
G4int | fIntegrationOrder = -1 |
G4bool | fIsFSAL = false |
G4double * | fLastDyDx |
G4double * | fLastFinalVector |
G4double * | fLastInitialVector |
G4double | fLastStepLength = 0.0 |
G4double * | fMidError |
G4double * | fMidVector |
const G4int | fNoIntegrationVariables = 0 |
unsigned long | fNoRHSCalls = 0UL |
const G4int | fNoStateVariables = 0 |
G4double * | yIn |
G4double * | yTemp |
Definition at line 44 of file G4CashKarpRKF45.hh.
G4CashKarpRKF45::G4CashKarpRKF45 | ( | G4EquationOfMotion * | EqRhs, |
G4int | numberOfVariables = 6 , |
||
G4bool | primary = true |
||
) |
Definition at line 47 of file G4CashKarpRKF45.cc.
References ak2, ak3, ak4, ak5, ak6, fAuxStepper, fLastDyDx, fLastFinalVector, fLastInitialVector, fMidError, fMidVector, G4CashKarpRKF45(), G4MagIntegratorStepper::GetNumberOfStateVariables(), G4INCL::Math::max(), yIn, and yTemp.
Referenced by G4CashKarpRKF45().
G4CashKarpRKF45::~G4CashKarpRKF45 | ( | ) |
Definition at line 89 of file G4CashKarpRKF45.cc.
References ak2, ak3, ak4, ak5, ak6, fAuxStepper, fLastDyDx, fLastFinalVector, fLastInitialVector, fMidError, fMidVector, yIn, and yTemp.
|
private |
|
virtual |
Implements G4MagIntegratorStepper.
Definition at line 238 of file G4CashKarpRKF45.cc.
References G4LineSection::Distline(), fAuxStepper, fLastDyDx, fLastFinalVector, fLastInitialVector, fLastStepLength, fMidError, fMidVector, and Stepper().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Referenced by G4BogackiShampine45::G4BogackiShampine45(), G4CashKarpRKF45(), G4SimpleRunge::G4SimpleRunge(), G4TSimpleRunge< T_Equation, N >::G4TSimpleRunge(), G4TsitourasRK45::G4TsitourasRK45(), G4BogackiShampine23::makeStep(), G4RK547FEq1::makeStep(), G4RK547FEq2::makeStep(), G4RK547FEq3::makeStep(), G4ConstRK4::Stepper(), G4MagErrorStepper::Stepper(), and G4TMagErrorStepper< T_Stepper, T_Equation, N >::Stepper().
|
inlineinherited |
Referenced by G4ExplicitEuler::DumbStepper(), G4ImplicitEuler::DumbStepper(), G4ClassicalRK4::DumbStepper(), G4ChordFinder::G4ChordFinder(), G4BogackiShampine45::GetLastDydx(), G4DoLoMcPriRK34::Interpolate(), G4TsitourasRK45::Interpolate(), G4DormandPrince745::Interpolate4thOrder(), G4DormandPrince745::Interpolate5thOrder(), G4DormandPrinceRK56::Interpolate_high(), G4DormandPrinceRK56::Interpolate_low(), G4BogackiShampine45::InterpolateHigh(), G4BogackiShampine23::makeStep(), G4RK547FEq1::makeStep(), G4RK547FEq2::makeStep(), G4RK547FEq3::makeStep(), G4DormandPrinceRK56::SetupInterpolate_high(), G4DormandPrinceRK56::SetupInterpolate_low(), G4DormandPrince745::SetupInterpolation5thOrder(), G4BogackiShampine45::SetupInterpolationHigh(), G4BogackiShampine45::Stepper(), Stepper(), G4DoLoMcPriRK34::Stepper(), G4DormandPrinceRK56::Stepper(), G4DormandPrinceRK78::Stepper(), G4MagErrorStepper::Stepper(), G4TsitourasRK45::Stepper(), and G4DormandPrince745::Stepper().
|
inlineinherited |
|
inlinevirtual |
Implements G4MagIntegratorStepper.
Definition at line 63 of file G4CashKarpRKF45.hh.
|
inlineinherited |
|
inlineinherited |
Referenced by G4SimpleHeum::DumbStepper(), and G4ClassicalRK4::DumbStepper().
|
inlineinherited |
|
private |
|
inlineinherited |
|
inlineinherited |
Referenced by G4MagInt_Driver::AccurateAdvance(), G4OldMagIntDriver::AccurateAdvance(), G4ImplicitEuler::DumbStepper(), G4SimpleHeum::DumbStepper(), G4SimpleRunge::DumbStepper(), G4ClassicalRK4::DumbStepper(), G4MagInt_Driver::GetDerivatives(), G4OldMagIntDriver::GetDerivatives(), G4BogackiShampine23::makeStep(), G4RK547FEq1::makeStep(), G4RK547FEq2::makeStep(), G4RK547FEq3::makeStep(), G4DormandPrinceRK56::SetupInterpolate_high(), G4DormandPrinceRK56::SetupInterpolate_low(), G4DormandPrince745::SetupInterpolation5thOrder(), G4BogackiShampine45::SetupInterpolationHigh(), G4BogackiShampine45::Stepper(), Stepper(), G4DoLoMcPriRK34::Stepper(), G4DormandPrinceRK56::Stepper(), G4DormandPrinceRK78::Stepper(), G4MagErrorStepper::Stepper(), G4TsitourasRK45::Stepper(), and G4DormandPrince745::Stepper().
|
inlineinherited |
|
inlineinherited |
Referenced by G4MagInt_Driver::SetEquationOfMotion(), and G4OldMagIntDriver::SetEquationOfMotion().
|
inlineprotectedinherited |
Referenced by G4BogackiShampine23::G4BogackiShampine23().
|
inlineprotectedinherited |
Referenced by G4BogackiShampine23::G4BogackiShampine23().
|
virtual |
Implements G4MagIntegratorStepper.
Definition at line 120 of file G4CashKarpRKF45.cc.
References ak2, ak3, ak4, ak5, ak6, fLastDyDx, fLastFinalVector, fLastInitialVector, fLastStepLength, G4MagIntegratorStepper::GetNumberOfVariables(), G4MagIntegratorStepper::RightHandSide(), yIn, and yTemp.
Referenced by DistChord().
|
private |
Definition at line 222 of file G4CashKarpRKF45.cc.
References FatalException, and G4Exception().
|
private |
Definition at line 83 of file G4CashKarpRKF45.hh.
Referenced by G4CashKarpRKF45(), Stepper(), and ~G4CashKarpRKF45().
|
private |
Definition at line 83 of file G4CashKarpRKF45.hh.
Referenced by G4CashKarpRKF45(), Stepper(), and ~G4CashKarpRKF45().
|
private |
Definition at line 83 of file G4CashKarpRKF45.hh.
Referenced by G4CashKarpRKF45(), Stepper(), and ~G4CashKarpRKF45().
|
private |
Definition at line 83 of file G4CashKarpRKF45.hh.
Referenced by G4CashKarpRKF45(), Stepper(), and ~G4CashKarpRKF45().
|
private |
Definition at line 83 of file G4CashKarpRKF45.hh.
Referenced by G4CashKarpRKF45(), Stepper(), and ~G4CashKarpRKF45().
|
private |
Definition at line 91 of file G4CashKarpRKF45.hh.
Referenced by DistChord(), G4CashKarpRKF45(), and ~G4CashKarpRKF45().
|
privateinherited |
Definition at line 124 of file G4MagIntegratorStepper.hh.
|
privateinherited |
Definition at line 134 of file G4MagIntegratorStepper.hh.
|
privateinherited |
Definition at line 136 of file G4MagIntegratorStepper.hh.
|
private |
Definition at line 88 of file G4CashKarpRKF45.hh.
Referenced by DistChord(), G4CashKarpRKF45(), Stepper(), and ~G4CashKarpRKF45().
|
private |
Definition at line 87 of file G4CashKarpRKF45.hh.
Referenced by DistChord(), G4CashKarpRKF45(), Stepper(), and ~G4CashKarpRKF45().
|
private |
Definition at line 87 of file G4CashKarpRKF45.hh.
Referenced by DistChord(), G4CashKarpRKF45(), Stepper(), and ~G4CashKarpRKF45().
|
private |
Definition at line 86 of file G4CashKarpRKF45.hh.
Referenced by DistChord(), and Stepper().
|
private |
Definition at line 88 of file G4CashKarpRKF45.hh.
Referenced by DistChord(), G4CashKarpRKF45(), and ~G4CashKarpRKF45().
|
private |
Definition at line 88 of file G4CashKarpRKF45.hh.
Referenced by DistChord(), G4CashKarpRKF45(), and ~G4CashKarpRKF45().
|
privateinherited |
Definition at line 125 of file G4MagIntegratorStepper.hh.
|
mutableprivateinherited |
Definition at line 128 of file G4MagIntegratorStepper.hh.
|
privateinherited |
Definition at line 126 of file G4MagIntegratorStepper.hh.
|
private |
Definition at line 83 of file G4CashKarpRKF45.hh.
Referenced by G4CashKarpRKF45(), Stepper(), and ~G4CashKarpRKF45().
|
private |
Definition at line 83 of file G4CashKarpRKF45.hh.
Referenced by G4CashKarpRKF45(), Stepper(), and ~G4CashKarpRKF45().