Geant4-11
|
#include <G4Solver.hh>
Public Types | |
enum | { DefaultMaxIter = 100 } |
Public Member Functions | |
G4bool | Bisection (Function &theFunction) |
G4bool | Brent (Function &theFunction) |
G4bool | Crenshaw (Function &theFunction) |
G4Solver () | |
G4Solver (const G4int iterations, const G4double tol) | |
G4Solver (const G4Solver &right) | |
G4double | GetIntervalLowerLimit (void) const |
G4double | GetIntervalUpperLimit (void) const |
G4int | GetMaxIterations (void) const |
G4double | GetRoot (void) const |
G4double | GetTolerance (void) const |
G4bool | operator!= (const G4Solver &right) const |
G4Solver & | operator= (const G4Solver &right) |
G4bool | operator== (const G4Solver &right) const |
G4bool | RegulaFalsi (Function &theFunction) |
void | SetIntervalLimits (const G4double Limit1, const G4double Limit2) |
void | SetMaxIterations (const G4int iterations) |
void | SetTolerance (const G4double epsilon) |
~G4Solver () | |
Private Attributes | |
G4double | a |
G4double | b |
G4int | MaxIter |
G4double | root |
G4double | tolerance |
Definition at line 40 of file G4Solver.hh.
anonymous enum |
|
inline |
Definition at line 46 of file G4Solver.hh.
|
inline |
G4Solver< Function >::G4Solver | ( | const G4Solver< Function > & | right | ) |
Definition at line 35 of file G4Solver.cc.
References G4Solver< Function >::a, G4Solver< Function >::b, G4Solver< Function >::MaxIter, G4Solver< Function >::root, and G4Solver< Function >::tolerance.
Definition at line 57 of file G4Solver.hh.
Referenced by G4StatMFMacroTemperature::CalcTemperature().
Definition at line 76 of file G4Solver.hh.
References G4Solver< Function >::root.
Referenced by G4StatMFMacroMultiplicity::CalcChemicalPotentialMu(), G4StatMFMacroChemicalPotential::CalcChemicalPotentialNu(), and G4StatMFMacroTemperature::CalcTemperature().
G4bool G4Solver< Function >::operator!= | ( | const G4Solver< Function > & | right | ) | const |
Definition at line 64 of file G4Solver.cc.
References HepGeom::BasicVector3D< T >::operator==().
G4Solver< Function > & G4Solver< Function >::operator= | ( | const G4Solver< Function > & | right | ) |
Definition at line 46 of file G4Solver.cc.
References G4Solver< Function >::a, G4Solver< Function >::b, G4Solver< Function >::MaxIter, G4Solver< Function >::root, and G4Solver< Function >::tolerance.
G4bool G4Solver< Function >::operator== | ( | const G4Solver< Function > & | right | ) | const |
Definition at line 57 of file G4Solver.cc.
|
inline |
Definition at line 65 of file G4Solver.hh.
References G4Solver< Function >::MaxIter.
Definition at line 68 of file G4Solver.hh.
References epsilon(), and G4Solver< Function >::tolerance.
Definition at line 101 of file G4Solver.hh.
Referenced by G4Solver< Function >::G4Solver(), G4Solver< Function >::GetIntervalLowerLimit(), and G4Solver< Function >::operator=().
Definition at line 102 of file G4Solver.hh.
Referenced by G4Solver< Function >::G4Solver(), G4Solver< Function >::GetIntervalUpperLimit(), and G4Solver< Function >::operator=().
Definition at line 95 of file G4Solver.hh.
Referenced by G4Solver< Function >::G4Solver(), G4Solver< Function >::GetMaxIterations(), G4Solver< Function >::operator=(), and G4Solver< Function >::SetMaxIterations().
Definition at line 105 of file G4Solver.hh.
Referenced by G4Solver< Function >::G4Solver(), G4Solver< Function >::GetRoot(), and G4Solver< Function >::operator=().
Definition at line 98 of file G4Solver.hh.
Referenced by G4Solver< Function >::G4Solver(), G4Solver< Function >::GetTolerance(), G4Solver< Function >::operator=(), and G4Solver< Function >::SetTolerance().