#include <G4BogackiShampine23.hh>
|
| G4BogackiShampine23 (G4EquationOfMotion *EqRhs, G4int numberOfVariables=6) |
|
virtual void | Stepper (const G4double yInput[], const G4double dydx[], G4double hstep, G4double yOutput[], G4double yError[]) override |
|
void | Stepper (const G4double yInput[], const G4double dydx[], G4double hstep, G4double yOutput[], G4double yError[], G4double dydxOutput[]) |
|
| G4BogackiShampine23 (const G4BogackiShampine23 &)=delete |
|
G4BogackiShampine23 & | operator= (const G4BogackiShampine23 &)=delete |
|
virtual G4double | DistChord () const override |
|
virtual G4int | IntegratorOrder () const override |
|
| G4MagIntegratorStepper (G4EquationOfMotion *Equation, G4int numIntegrationVariables, G4int numStateVariables=12, G4bool isFSAL=false) |
|
virtual | ~G4MagIntegratorStepper ()=default |
|
| G4MagIntegratorStepper (const G4MagIntegratorStepper &)=delete |
|
G4MagIntegratorStepper & | operator= (const G4MagIntegratorStepper &)=delete |
|
virtual void | Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[])=0 |
|
virtual G4double | DistChord () const =0 |
|
void | NormaliseTangentVector (G4double vec[6]) |
|
void | NormalisePolarizationVector (G4double vec[12]) |
|
void | RightHandSide (const G4double y[], G4double dydx[]) const |
|
void | RightHandSide (const G4double y[], G4double dydx[], G4double field[]) const |
|
G4int | GetNumberOfVariables () const |
|
G4int | GetNumberOfStateVariables () const |
|
virtual G4int | IntegratorOrder () const =0 |
|
G4int | IntegrationOrder () |
|
G4EquationOfMotion * | GetEquationOfMotion () |
|
const G4EquationOfMotion * | GetEquationOfMotion () const |
|
void | SetEquationOfMotion (G4EquationOfMotion *newEquation) |
|
unsigned long | GetfNoRHSCalls () |
|
void | ResetfNORHSCalls () |
|
G4bool | IsFSAL () const |
|
Definition at line 50 of file G4BogackiShampine23.hh.
◆ G4BogackiShampine23() [1/2]
Definition at line 55 of file G4BogackiShampine23.cc.
58{
61}
void SetIntegrationOrder(G4int order)
void SetFSAL(G4bool flag=true)
◆ G4BogackiShampine23() [2/2]
◆ DistChord()
G4double G4BogackiShampine23::DistChord |
( |
| ) |
const |
|
overridevirtual |
Implements G4MagIntegratorStepper.
Definition at line 148 of file G4BogackiShampine23.cc.
149{
151 makeStep(fyIn, fdydx, fhstep / 2., yMid);
152
156
158}
static G4double Distline(const G4ThreeVector &OtherPnt, const G4ThreeVector &LinePntA, const G4ThreeVector &LinePntB)
G4ThreeVector makeVector(const ArrayType &array, Value3D value)
◆ IntegratorOrder()
virtual G4int G4BogackiShampine23::IntegratorOrder |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ operator=()
◆ Stepper() [1/2]
Implements G4MagIntegratorStepper.
Definition at line 116 of file G4BogackiShampine23.cc.
121{
124 fhstep = hstep;
125
126 makeStep(fyIn, fdydx, fhstep, fyOut, fdydxOut, yError);
127
128 copy(yOutput, fyOut);
129}
void copy(G4double dst[], const G4double src[], std::size_t size=G4FieldTrack::ncompSVEC)
◆ Stepper() [2/2]
Definition at line 131 of file G4BogackiShampine23.cc.
137{
140 fhstep = hstep;
141
142 makeStep(fyIn, fdydx, fhstep, fyOut, fdydxOut, yError);
143
144 copy(yOutput, fyOut);
145 copy(dydxOutput, fdydxOut);
146}
The documentation for this class was generated from the following files: