#include <G4SimpleHeum.hh>
|
| G4SimpleHeum (G4EquationOfMotion *EqRhs, G4int num_variables=6) |
|
| ~G4SimpleHeum () |
|
void | DumbStepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[]) |
|
G4int | IntegratorOrder () const |
|
| G4MagErrorStepper (G4EquationOfMotion *EqRhs, G4int numberOfVariables, G4int numStateVariables=12) |
|
virtual | ~G4MagErrorStepper () |
|
void | Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[]) |
|
G4double | DistChord () const |
|
| G4MagIntegratorStepper (G4EquationOfMotion *Equation, G4int numIntegrationVariables, G4int numStateVariables=12, bool isFSAL=false) |
|
virtual | ~G4MagIntegratorStepper () |
|
virtual void | ComputeRightHandSide (const G4double y[], G4double dydx[]) |
|
void | NormaliseTangentVector (G4double vec[6]) |
|
void | NormalisePolarizationVector (G4double vec[12]) |
|
void | RightHandSide (const double y[], double dydx[]) |
|
G4int | GetNumberOfVariables () const |
|
G4int | GetNumberOfStateVariables () const |
|
G4int | IntegrationOrder () |
|
G4EquationOfMotion * | GetEquationOfMotion () |
|
void | SetEquationOfMotion (G4EquationOfMotion *newEquation) |
|
unsigned long | GetfNoRHSCalls () |
|
void | ResetfNORHSCalls () |
|
bool | IsFSAL () |
|
Definition at line 50 of file G4SimpleHeum.hh.
Definition at line 46 of file G4SimpleHeum.cc.
48 fNumberOfVariables(num_variables)
50 dydxTemp =
new G4double[fNumberOfVariables] ;
51 dydxTemp2 =
new G4double[fNumberOfVariables] ;
52 yTemp =
new G4double[fNumberOfVariables] ;
53 yTemp2 =
new G4double[fNumberOfVariables] ;
G4MagErrorStepper(G4EquationOfMotion *EqRhs, G4int numberOfVariables, G4int numStateVariables=12)
G4SimpleHeum::~G4SimpleHeum |
( |
| ) |
|
Implements G4MagErrorStepper.
Definition at line 75 of file G4SimpleHeum.cc.
81 for( i = 0; i < fNumberOfVariables; i++ )
83 yTemp[i] = yIn[i] + (1.0/3.0) * h * dydx[i] ;
88 for( i = 0; i < fNumberOfVariables; i++ )
90 yTemp2[i] = yIn[i] + (2.0/3.0) * h * dydxTemp[i] ;
95 for( i = 0; i < fNumberOfVariables; i++ )
97 yOut[i] = yIn[i] + h * (0.25 * dydx[i] + 0.75 * dydxTemp2[i]);
void RightHandSide(const double y[], double dydx[])
void NormalisePolarizationVector(G4double vec[12])
G4int G4SimpleHeum::IntegratorOrder |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following files:
- source/geant4.10.03.p03/source/geometry/magneticfield/include/G4SimpleHeum.hh
- source/geant4.10.03.p03/source/geometry/magneticfield/src/G4SimpleHeum.cc