#include <G4ExactHelixStepper.hh>
|
| G4ExactHelixStepper (G4Mag_EqRhs *EqRhs) |
|
| ~G4ExactHelixStepper () override |
|
| G4ExactHelixStepper (const G4ExactHelixStepper &)=delete |
|
G4ExactHelixStepper & | operator= (const G4ExactHelixStepper &)=delete |
|
void | Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[]) override |
|
void | DumbStepper (const G4double y[], G4ThreeVector Bfld, G4double h, G4double yout[]) override |
|
G4double | DistChord () const override |
|
G4int | IntegratorOrder () const override |
|
| G4MagHelicalStepper (G4Mag_EqRhs *EqRhs) |
|
| ~G4MagHelicalStepper () override |
|
| G4MagHelicalStepper (const G4MagHelicalStepper &)=delete |
|
G4MagHelicalStepper & | operator= (const G4MagHelicalStepper &)=delete |
|
void | Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[]) override |
|
G4double | DistChord () 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 |
|
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 |
|
G4int | IntegrationOrder () |
|
G4EquationOfMotion * | GetEquationOfMotion () |
|
const G4EquationOfMotion * | GetEquationOfMotion () const |
|
void | SetEquationOfMotion (G4EquationOfMotion *newEquation) |
|
unsigned long | GetfNoRHSCalls () |
|
void | ResetfNORHSCalls () |
|
G4bool | IsFSAL () const |
|
G4bool | isQSS () const |
|
void | SetIsQSS (G4bool val) |
|
Definition at line 51 of file G4ExactHelixStepper.hh.
◆ G4ExactHelixStepper() [1/2]
G4ExactHelixStepper::G4ExactHelixStepper |
( |
G4Mag_EqRhs * | EqRhs | ) |
|
◆ ~G4ExactHelixStepper()
G4ExactHelixStepper::~G4ExactHelixStepper |
( |
| ) |
|
|
overridedefault |
◆ G4ExactHelixStepper() [2/2]
◆ DistChord()
G4double G4ExactHelixStepper::DistChord |
( |
| ) |
const |
|
overridevirtual |
Implements G4MagIntegratorStepper.
Definition at line 93 of file G4ExactHelixStepper.cc.
94{
95
96
97
98
101
102 if (Ang_curve<=pi)
103 {
104 distChord=
GetRadHelix()*(1-std::cos(0.5*Ang_curve));
105 }
106 else if(Ang_curve<twopi)
107 {
108 distChord=
GetRadHelix()*(1+std::cos(0.5*(twopi-Ang_curve)));
109 }
110 else
111 {
113 }
114
115 return distChord;
116}
G4double GetRadHelix() const
G4double GetAngCurve() const
◆ DumbStepper()
Implements G4MagHelicalStepper.
Definition at line 75 of file G4ExactHelixStepper.cc.
79{
80
81
83
86 "Should not be called. Stepper must do all the work." );
87}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
void AdvanceHelix(const G4double yIn[], const G4ThreeVector &Bfld, G4double h, G4double yHelix[], G4double yHelix2[]=nullptr)
◆ IntegratorOrder()
G4int G4ExactHelixStepper::IntegratorOrder |
( |
| ) |
const |
|
overridevirtual |
◆ operator=()
◆ Stepper()
Implements G4MagIntegratorStepper.
Definition at line 48 of file G4ExactHelixStepper.cc.
53{
55
58
61
62
63
64 for(i=0; i<nvar; ++i)
65 {
66 yErr[i] = 0.0 ;
67 }
68
69 fBfieldValue = Bfld_value;
70}
void MagFieldEvaluate(const G4double y[], G4ThreeVector &Bfield)
The documentation for this class was generated from the following files: