Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
Typedefs | |
using | State = G4double[G4FieldTrack::ncompSVEC] |
template<unsigned int N> | |
using | ShortState = G4double[N] |
Enumerations | |
enum class | Value3D { Position = 0 , Momentum = 3 , Spin = 9 } |
enum class | Value1D { KineticEnergy = 6 , LabTime = 7 , ProperTime = 8 } |
Functions | |
template<typename ArrayType > | |
G4double | getValue (const ArrayType &array, Value1D value) |
template<typename ArrayType > | |
G4double | getValue2 (const ArrayType &array, Value1D value) |
template<typename ArrayType > | |
G4double | getValue (const ArrayType &array, Value3D value) |
template<typename ArrayType > | |
G4double | getValue2 (const ArrayType &array, Value3D value) |
template<typename ArrayType > | |
G4ThreeVector | makeVector (const ArrayType &array, Value3D value) |
G4double | absoluteError (const G4double y[], const G4double yerr[], G4double hstep) |
G4double | relativeError2 (const G4double y[], const G4double yerr[], G4double hstep, G4double errorTolerance) |
G4double | relativeError (const G4double y[], const G4double yerr[], G4double hstep, G4double errorTolerance) |
template<typename SourceArray , typename TargetArray > | |
void | setValue (const SourceArray &src, Value1D value, TargetArray &trg) |
template<typename SourceArray , typename TargetArray , typename ... TargetArrays> | |
void | setValue (const SourceArray &src, Value1D value, TargetArray &trg, TargetArrays &... trgs) |
void | copy (G4double dst[], const G4double src[], size_t size=G4FieldTrack::ncompSVEC) |
G4double | inverseCurvatureRadius (G4double particleCharge, G4double momentum, G4double BField) |
template<typename T > | |
T | clamp (T value, T lo, T hi) |
using field_utils::ShortState = typedef G4double[N] |
Definition at line 48 of file G4FieldUtils.hh.
using field_utils::State = typedef G4double[G4FieldTrack::ncompSVEC] |
Definition at line 45 of file G4FieldUtils.hh.
|
strong |
Enumerator | |
---|---|
KineticEnergy | |
LabTime | |
ProperTime |
Definition at line 57 of file G4FieldUtils.hh.
|
strong |
Enumerator | |
---|---|
Position | |
Momentum | |
Spin |
Definition at line 50 of file G4FieldUtils.hh.
Definition at line 38 of file G4FieldUtils.cc.
T field_utils::clamp | ( | T | value, |
T | lo, | ||
T | hi | ||
) |
void field_utils::copy | ( | G4double | dst[], |
const G4double | src[], | ||
size_t | size = G4FieldTrack::ncompSVEC |
||
) |
Definition at line 98 of file G4FieldUtils.cc.
Referenced by G4BogackiShampine23::Stepper(), G4RK547FEq1::Stepper(), G4RK547FEq2::Stepper(), G4RK547FEq3::Stepper(), G4DormandPrince745::Stepper(), and G4TDormandPrince45< T_Equation, N >::StepWithFinalDerivate().
G4double field_utils::getValue | ( | const ArrayType & | array, |
Value1D | value | ||
) |
Referenced by G4NystromRK4::Stepper().
G4double field_utils::getValue | ( | const ArrayType & | array, |
Value3D | value | ||
) |
G4double field_utils::getValue2 | ( | const ArrayType & | array, |
Value1D | value | ||
) |
Referenced by absoluteError(), relativeError2(), and G4NystromRK4::Stepper().
G4double field_utils::getValue2 | ( | const ArrayType & | array, |
Value3D | value | ||
) |
G4double field_utils::inverseCurvatureRadius | ( | G4double | particleCharge, |
G4double | momentum, | ||
G4double | BField | ||
) |
Definition at line 104 of file G4FieldUtils.cc.
G4ThreeVector field_utils::makeVector | ( | const ArrayType & | array, |
Value3D | value | ||
) |
G4double field_utils::relativeError | ( | const G4double | y[], |
const G4double | yerr[], | ||
G4double | hstep, | ||
G4double | errorTolerance | ||
) |
Definition at line 90 of file G4FieldUtils.cc.
Referenced by G4BulirschStoer::try_step().
G4double field_utils::relativeError2 | ( | const G4double | y[], |
const G4double | yerr[], | ||
G4double | hstep, | ||
G4double | errorTolerance | ||
) |
Definition at line 52 of file G4FieldUtils.cc.
Referenced by relativeError().
void field_utils::setValue | ( | const SourceArray & | src, |
Value1D | value, | ||
TargetArray & | trg | ||
) |
Referenced by G4ModifiedMidpoint::DoStep().
void field_utils::setValue | ( | const SourceArray & | src, |
Value1D | value, | ||
TargetArray & | trg, | ||
TargetArrays &... | trgs | ||
) |