|
Geant4-11
|
Typedefs | |
| template<unsigned int N> | |
| using | ShortState = G4double[N] |
| using | State = G4double[G4FieldTrack::ncompSVEC] |
Enumerations | |
| enum class | Value1D { KineticEnergy = 6 , LabTime = 7 , ProperTime = 8 } |
| enum class | Value3D { Position = 0 , Momentum = 3 , Spin = 9 } |
Functions | |
| G4double | absoluteError (const G4double y[], const G4double yerr[], G4double hstep) |
| template<typename T > | |
| T | clamp (T value, T lo, T hi) |
| void | copy (G4double dst[], const G4double src[], size_t size=G4FieldTrack::ncompSVEC) |
| template<typename ArrayType > | |
| G4double | getValue (const ArrayType &array, Value1D value) |
| template<typename ArrayType > | |
| G4double | getValue (const ArrayType &array, Value3D value) |
| template<typename ArrayType > | |
| G4double | getValue2 (const ArrayType &array, Value1D value) |
| template<typename ArrayType > | |
| G4double | getValue2 (const ArrayType &array, Value3D value) |
| G4double | inverseCurvatureRadius (G4double particleCharge, G4double momentum, G4double BField) |
| template<typename ArrayType > | |
| G4ThreeVector | makeVector (const ArrayType &array, Value3D value) |
| G4double | relativeError (const G4double y[], const G4double yerr[], G4double hstep, G4double errorTolerance) |
| G4double | relativeError2 (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) |
| 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.
References getValue2(), G4INCL::Math::max(), Momentum, and Position.
| 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 G3VolTableEntry::ClearG3PosCopy(), G4TriangularFacet::CopyFrom(), deflate(), G4INCL::ClusteringModelIntercomparison::SortedNucleonConfiguration::fill(), G4VPhysicsConstructor::GetBuilders(), G3VolTableEntry::GetG3PosCopy(), G4UIWin32::GetItemPath(), gz_write(), inflate(), inflateBack(), inflateCopy(), G4INCL::NuclearDensity::NuclearDensity(), G4VHadDecayAlgorithm::PrintVector(), G4CascadeCoalescence::reportArgs(), G4INCL::ClusteringModelIntercomparison::SortedNucleonConfiguration::SortedNucleonConfiguration(), G4BogackiShampine23::Stepper(), G4RK547FEq1::Stepper(), G4RK547FEq2::Stepper(), G4RK547FEq3::Stepper(), G4DormandPrince745::Stepper(), G4TDormandPrince45< T_Equation, N >::StepWithFinalDerivate(), SubstractSolids(), and updatewindow().
| 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 | ||
| ) |
| 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.
References relativeError2().
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.
References G4Exception(), getValue2(), JustWarning, G4INCL::Math::max(), Momentum, and Position.
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 | ||
| ) |