#include <Doxymodules_field.h>
Definition at line 18 of file Doxymodules_field.h.
◆ G4BlineEquation()
◆ ~G4BlineEquation()
G4BlineEquation::~G4BlineEquation |
( |
| ) |
|
|
overridedefault |
◆ EvaluateRhsGivenB()
void G4BlineEquation::EvaluateRhsGivenB |
( |
const G4double |
y[], |
|
|
const G4double |
B[3], |
|
|
G4double |
dydx[] |
|
) |
| const |
|
override |
Definition at line 51 of file G4BlineEquation.cc.
54{
55 G4double Bmag =
fDirection*std::sqrt(B[0]*B[0] + B[1]*B[1] + B[2]*B[2]);
56 dydx[0] = B[0]/Bmag;
57 dydx[1] = B[1]/Bmag;
58 dydx[2] = B[2]/Bmag;
59
60 dydx[3]=0. * y[0];
61 dydx[4]=0.;
62 dydx[5]=0.;
63}
◆ SetBackwardDirectionOfIntegration()
void G4BlineEquation::SetBackwardDirectionOfIntegration |
( |
G4bool |
abool | ) |
|
◆ fBackward_direction
G4bool G4BlineEquation::fBackward_direction = false |
|
private |
◆ fDirection
G4double G4BlineEquation::fDirection = 1. |
|
private |
The documentation for this class was generated from the following files: