#include <G4ExactHelixStepper.hh>
|
| G4ExactHelixStepper (G4Mag_EqRhs *EqRhs) |
|
| ~G4ExactHelixStepper () |
|
| G4ExactHelixStepper (const G4ExactHelixStepper &)=delete |
|
G4ExactHelixStepper & | operator= (const G4ExactHelixStepper &)=delete |
|
void | Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[]) |
|
void | DumbStepper (const G4double y[], G4ThreeVector Bfld, G4double h, G4double yout[]) |
|
G4double | DistChord () const |
|
virtual G4int | IntegratorOrder () const |
|
| G4MagHelicalStepper (G4Mag_EqRhs *EqRhs) |
|
virtual | ~G4MagHelicalStepper () |
|
| G4MagHelicalStepper (const G4MagHelicalStepper &)=delete |
|
G4MagHelicalStepper & | operator= (const G4MagHelicalStepper &)=delete |
|
virtual void | Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[]) |
|
virtual void | DumbStepper (const G4double y[], G4ThreeVector Bfld, G4double h, G4double yout[])=0 |
|
G4double | DistChord () const |
|
| 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 51 of file G4ExactHelixStepper.hh.
◆ G4ExactHelixStepper() [1/2]
G4ExactHelixStepper::G4ExactHelixStepper |
( |
G4Mag_EqRhs * |
EqRhs | ) |
|
◆ ~G4ExactHelixStepper()
G4ExactHelixStepper::~G4ExactHelixStepper |
( |
| ) |
|
◆ G4ExactHelixStepper() [2/2]
◆ DistChord()
G4double G4ExactHelixStepper::DistChord |
( |
| ) |
const |
|
virtual |
Implements G4MagIntegratorStepper.
Definition at line 95 of file G4ExactHelixStepper.cc.
96{
97
98
99
100
103
104 if (Ang_curve<=pi)
105 {
106 distChord=
GetRadHelix()*(1-std::cos(0.5*Ang_curve));
107 }
108 else if(Ang_curve<twopi)
109 {
110 distChord=
GetRadHelix()*(1+std::cos(0.5*(twopi-Ang_curve)));
111 }
112 else
113 {
115 }
116
117 return distChord;
118}
G4double GetRadHelix() const
G4double GetAngCurve() const
◆ DumbStepper()
Implements G4MagHelicalStepper.
Definition at line 77 of file G4ExactHelixStepper.cc.
81{
82
83
85
88 "Should not be called. Stepper must do all the work." );
89}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
void AdvanceHelix(const G4double yIn[], G4ThreeVector Bfld, G4double h, G4double yHelix[], G4double yHelix2[]=0)
◆ IntegratorOrder()
G4int G4ExactHelixStepper::IntegratorOrder |
( |
| ) |
const |
|
virtual |
◆ operator=()
◆ Stepper()
Reimplemented from G4MagHelicalStepper.
Definition at line 50 of file G4ExactHelixStepper.cc.
55{
57
60
63
64
65
66 for(i=0; i<nvar; ++i)
67 {
68 yErr[i] = 0.0 ;
69 }
70
71 fBfieldValue = Bfld_value;
72}
void MagFieldEvaluate(const G4double y[], G4ThreeVector &Bfield)
The documentation for this class was generated from the following files: