#include <FieldStepper.h>
Definition at line 8 of file FieldStepper.h.
◆ FieldStepper()
FieldStepper::FieldStepper |
( |
G4Mag_UsualEqRhs * |
eq, |
|
|
double |
del, |
|
|
const std::string & |
name |
|
) |
| |
|
explicit |
◆ ~FieldStepper()
FieldStepper::~FieldStepper |
( |
| ) |
|
|
override |
◆ DistChord()
G4double FieldStepper::DistChord |
( |
| ) |
const |
|
override |
◆ IntegratorOrder()
G4int FieldStepper::IntegratorOrder |
( |
| ) |
const |
|
override |
◆ selectStepper()
void FieldStepper::selectStepper |
( |
const std::string & |
ss | ) |
|
|
private |
Definition at line 41 of file FieldStepper.cc.
References contentValuesCheck::ss, theDelta, theEquation, and theStepper.
Referenced by FieldStepper().
42 if (
ss ==
"G4ClassicalRK4")
44 else if (
ss ==
"G4TClassicalRK4")
46 else if (
ss ==
"G4NystromRK4")
48 else if (
ss ==
"G4SimpleRunge")
50 else if (
ss ==
"G4SimpleHeum")
52 else if (
ss ==
"G4CashKarpRKF45")
54 else if (
ss ==
"G4TCashKarpRKF45")
56 else if (
ss ==
"G4DormandPrince745")
58 else if (
ss ==
"G4TDormandPrince45")
59 theStepper =
new G4TDormandPrince45<G4TMagFieldEquation<sim::Field>>(
60 dynamic_cast<G4TMagFieldEquation<sim::Field> *
>(
theEquation));
61 else if (
ss ==
"CMSTDormandPrince45")
64 else if (
ss ==
"G4BogackiShampine45")
66 else if (
ss ==
"G4TsitourasRK45")
68 else if (
ss ==
"G4ImplicitEuler")
70 else if (
ss ==
"G4HelixExplicitEuler")
72 else if (
ss ==
"G4HelixImplicitEuler")
74 else if (
ss ==
"G4HelixSimpleRunge")
76 else if (
ss ==
"G4HelixHeum")
80 <<
" FieldStepper <" <<
ss <<
"> is not known, defaulting to G4ClassicalRK4 ";
Log< level::Info, true > LogVerbatim
G4MagIntegratorStepper * theStepper
G4Mag_UsualEqRhs * theEquation
Log< level::Warning, false > LogWarning
◆ Stepper()
void FieldStepper::Stepper |
( |
const G4double |
y[], |
|
|
const G4double |
dydx[], |
|
|
G4double |
h, |
|
|
G4double |
yout[], |
|
|
G4double |
yerr[] |
|
) |
| |
|
override |
Definition at line 33 of file FieldStepper.cc.
References h, theStepper, and y.
G4MagIntegratorStepper * theStepper
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
◆ theDelta
double FieldStepper::theDelta |
|
private |
◆ theEquation
G4Mag_UsualEqRhs* FieldStepper::theEquation |
|
private |
◆ theStepper
G4MagIntegratorStepper* FieldStepper::theStepper |
|
private |