Geant4-11
|
Functions | |
std::pair< G4double, G4double > | bracketRoot (RootFunctor const *const f, G4double x0) |
Bracket the root of the function f. More... | |
Variables | |
const G4int | maxIterations =50 |
Maximum number of iterations for convergence. More... | |
const G4double | toleranceY = 1.e-4 |
Tolerance on the y value. More... | |
std::pair< G4double, G4double > G4INCL::RootFinder::anonymous_namespace{G4INCLRootFinder.cc}::bracketRoot | ( | RootFunctor const *const | f, |
G4double | x0 | ||
) |
Bracket the root of the function f.
Tries to find a bracketing value for the function root.
f | pointer to a RootFunctor |
x0 | starting value |
Definition at line 75 of file G4INCLRootFinder.cc.
References INCL_DEBUG, maxIterations, and G4INCL::Math::sign().
Referenced by G4INCL::RootFinder::solve().
const G4int G4INCL::RootFinder::anonymous_namespace{G4INCLRootFinder.cc}::maxIterations =50 |
Maximum number of iterations for convergence.
Definition at line 63 of file G4INCLRootFinder.cc.
Referenced by bracketRoot(), G4INCL::InteractionAvatar::bringParticleInside(), G4INCL::Nucleus::computeOneNucleonRecoilKinematics(), and G4INCL::RootFinder::solve().
const G4double G4INCL::RootFinder::anonymous_namespace{G4INCLRootFinder.cc}::toleranceY = 1.e-4 |
Tolerance on the y value.
Definition at line 60 of file G4INCLRootFinder.cc.
Referenced by G4DNARevertProbability::SetTolerance(), and G4INCL::RootFinder::solve().