Geant4
10.00.p03
|
#include <G4Solver.hh>
Public Types | |
enum | { DefaultMaxIter = 100 } |
Public Member Functions | |
G4Solver () | |
G4Solver (const G4int iterations, const G4double tol) | |
G4Solver (const G4Solver &right) | |
~G4Solver () | |
G4Solver & | operator= (const G4Solver &right) |
G4bool | operator== (const G4Solver &right) const |
G4bool | operator!= (const G4Solver &right) const |
G4int | GetMaxIterations (void) const |
void | SetMaxIterations (const G4int iterations) |
G4double | GetTolerance (void) const |
void | SetTolerance (const G4double epsilon) |
G4double | GetIntervalLowerLimit (void) const |
G4double | GetIntervalUpperLimit (void) const |
void | SetIntervalLimits (const G4double Limit1, const G4double Limit2) |
G4double | GetRoot (void) const |
G4bool | Bisection (Function &theFunction) |
G4bool | RegulaFalsi (Function &theFunction) |
G4bool | Brent (Function &theFunction) |
G4bool | Crenshaw (Function &theFunction) |
Private Attributes | |
G4int | MaxIter |
G4double | tolerance |
G4double | a |
G4double | b |
G4double | root |
Definition at line 41 of file G4Solver.hh.
anonymous enum |
Enumerator | |
---|---|
DefaultMaxIter |
Definition at line 44 of file G4Solver.hh.
Definition at line 47 of file G4Solver.hh.
|
inline |
Definition at line 50 of file G4Solver.hh.
Definition at line 36 of file G4Solver.cc.
References a, G4Solver< Function >::a, G4Solver< Function >::b, G4Solver< Function >::MaxIter, G4Solver< Function >::root, and G4Solver< Function >::tolerance.
Definition at line 58 of file G4Solver.hh.
Referenced by G4StatMFMacroMultiplicity::CalcChemicalPotentialMu(), G4StatMFMacroChemicalPotential::CalcChemicalPotentialNu(), and G4StatMFMacroTemperature::CalcTemperature().
Referenced by G4StatMFMacroTemperature::CalcTemperature().
Definition at line 72 of file G4Solver.hh.
References G4Solver< Function >::a.
Definition at line 73 of file G4Solver.hh.
References G4Solver< Function >::b.
Definition at line 65 of file G4Solver.hh.
References G4Solver< Function >::MaxIter.
Definition at line 77 of file G4Solver.hh.
References G4Solver< Function >::root.
Referenced by G4StatMFMacroMultiplicity::CalcChemicalPotentialMu(), G4StatMFMacroChemicalPotential::CalcChemicalPotentialNu(), and G4StatMFMacroTemperature::CalcTemperature().
Definition at line 68 of file G4Solver.hh.
References G4Solver< Function >::tolerance.
G4bool G4Solver< Function >::operator!= | ( | const G4Solver< Function > & | right | ) | const |
Definition at line 65 of file G4Solver.cc.
References operator==().
G4Solver< Function > & G4Solver< Function >::operator= | ( | const G4Solver< Function > & | right | ) |
Definition at line 47 of file G4Solver.cc.
References a, 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 58 of file G4Solver.cc.
void G4Solver< Function >::SetIntervalLimits | ( | const G4double | Limit1, |
const G4double | Limit2 | ||
) |
Referenced by G4StatMFMacroMultiplicity::CalcChemicalPotentialMu(), G4StatMFMacroChemicalPotential::CalcChemicalPotentialNu(), and G4StatMFMacroTemperature::CalcTemperature().
|
inline |
Definition at line 66 of file G4Solver.hh.
References G4Solver< Function >::MaxIter.
Definition at line 69 of file G4Solver.hh.
References G4Solver< Function >::tolerance.
Definition at line 102 of file G4Solver.hh.
Referenced by G4Solver< Function >::G4Solver(), G4Solver< Function >::GetIntervalLowerLimit(), and G4Solver< Function >::operator=().
Definition at line 103 of file G4Solver.hh.
Referenced by G4Solver< Function >::G4Solver(), G4Solver< Function >::GetIntervalUpperLimit(), and G4Solver< Function >::operator=().
Definition at line 96 of file G4Solver.hh.
Referenced by G4Solver< Function >::G4Solver(), G4Solver< Function >::GetMaxIterations(), G4Solver< Function >::operator=(), and G4Solver< Function >::SetMaxIterations().
Definition at line 106 of file G4Solver.hh.
Referenced by G4Solver< Function >::G4Solver(), G4Solver< Function >::GetRoot(), and G4Solver< Function >::operator=().
Definition at line 99 of file G4Solver.hh.
Referenced by G4Solver< Function >::G4Solver(), G4Solver< Function >::GetTolerance(), G4Solver< Function >::operator=(), and G4Solver< Function >::SetTolerance().