ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/magneticfield/include/G4ModifiedMidpoint.hh>
Public Member Functions | |
G4ModifiedMidpoint (G4EquationOfMotion *equation, G4int nvar=6, G4int steps=2) | |
~G4ModifiedMidpoint ()=default | |
void | DoStep (const G4double yIn[], const G4double dydxIn[], G4double yOut[], G4double hstep) const |
void | DoStep (const G4double yIn[], const G4double dydxIn[], G4double yOut[], G4double hstep, G4double yMid[], G4double derivs[][G4FieldTrack::ncompSVEC]) const |
void | SetSteps (G4int steps) |
G4int | GetSteps () const |
void | SetEquationOfMotion (G4EquationOfMotion *equation) |
G4EquationOfMotion * | GetEquationOfMotion () |
G4int | GetNumberOfVariables () const |
Private Member Functions | |
void | copy (G4double dst[], const G4double src[]) const |
Private Attributes | |
G4EquationOfMotion * | fEquation = nullptr |
G4int | fnvar = 0 |
G4int | fsteps = 0 |
Definition at line 41 of file G4ModifiedMidpoint.hh.
View newest version in sPHENIX GitHub at line 41 of file G4ModifiedMidpoint.hh
G4ModifiedMidpoint::G4ModifiedMidpoint | ( | G4EquationOfMotion * | equation, |
G4int | nvar = 6 , |
||
G4int | steps = 2 |
||
) |
Definition at line 36 of file G4ModifiedMidpoint.cc.
View newest version in sPHENIX GitHub at line 36 of file G4ModifiedMidpoint.cc
References FatalException, and G4Exception().
|
default |
Definition at line 157 of file G4ModifiedMidpoint.cc.
View newest version in sPHENIX GitHub at line 157 of file G4ModifiedMidpoint.cc
References fnvar.
Referenced by DoStep().
void G4ModifiedMidpoint::DoStep | ( | const G4double | yIn[], |
const G4double | dydxIn[], | ||
G4double | yOut[], | ||
G4double | hstep | ||
) | const |
Definition at line 48 of file G4ModifiedMidpoint.cc.
View newest version in sPHENIX GitHub at line 48 of file G4ModifiedMidpoint.cc
References copy(), fEquation, fnvar, fsteps, Acts::UnitConstants::h, h2, G4FieldTrack::ncompSVEC, G4EquationOfMotion::RightHandSide(), field_utils::setValue(), and y1.
Referenced by G4BulirschStoer::try_step().
void G4ModifiedMidpoint::DoStep | ( | const G4double | yIn[], |
const G4double | dydxIn[], | ||
G4double | yOut[], | ||
G4double | hstep, | ||
G4double | yMid[], | ||
G4double | derivs[][G4FieldTrack::ncompSVEC] | ||
) | const |
Definition at line 96 of file G4ModifiedMidpoint.cc.
View newest version in sPHENIX GitHub at line 96 of file G4ModifiedMidpoint.cc
References copy(), fEquation, fnvar, fsteps, Acts::UnitConstants::h, h2, G4FieldTrack::ncompSVEC, G4EquationOfMotion::RightHandSide(), field_utils::setValue(), and y1.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 70 of file G4ModifiedMidpoint.hh.
View newest version in sPHENIX GitHub at line 70 of file G4ModifiedMidpoint.hh
Referenced by DoStep().
|
private |
Definition at line 71 of file G4ModifiedMidpoint.hh.
View newest version in sPHENIX GitHub at line 71 of file G4ModifiedMidpoint.hh
|
private |
Definition at line 72 of file G4ModifiedMidpoint.hh.
View newest version in sPHENIX GitHub at line 72 of file G4ModifiedMidpoint.hh
Referenced by DoStep().