#include <EquationSolver.h>
Public Types | |
enum | { DefaultMaxIter = 100 } |
Public Member Functions | |
bool | Brent (Function &theFunction) |
double | GetIntervalLowerLimit (void) const |
double | GetIntervalUpperLimit (void) const |
int | GetMaxIterations (void) const |
double | GetRoot (void) const |
double | GetTolerance (void) const |
NAEquationSolver () | |
NAEquationSolver (const int iterations, const double tol) | |
NAEquationSolver (const NAEquationSolver &right) | |
bool | operator!= (const NAEquationSolver &right) const |
NAEquationSolver & | operator= (const NAEquationSolver &right) |
bool | operator== (const NAEquationSolver &right) const |
void | SetIntervalLimits (const double Limit1, const double Limit2) |
void | SetMaxIterations (const int iterations) |
void | SetTolerance (const double epsilon) |
~NAEquationSolver () | |
Private Attributes | |
double | fA |
double | fB |
int | fMaxIter |
double | fRoot |
double | fTolerance |
Definition at line 18 of file EquationSolver.h.
anonymous enum |
|
inline |
Definition at line 35 of file EquationSolver.h.
|
inline |
Definition at line 38 of file EquationSolver.h.
NAEquationSolver< Function >::NAEquationSolver | ( | const NAEquationSolver< Function > & | right | ) |
Definition at line 14 of file EquationSolver.cc.
References NAEquationSolver< Function >::GetIntervalLowerLimit(), NAEquationSolver< Function >::GetIntervalUpperLimit(), NAEquationSolver< Function >::GetMaxIterations(), NAEquationSolver< Function >::GetRoot(), and NAEquationSolver< Function >::GetTolerance().
|
inline |
Definition at line 46 of file EquationSolver.h.
bool NAEquationSolver< Function >::Brent | ( | Function & | theFunction | ) |
Referenced by NAStrangePotential::CalculateStrangePotential().
|
inline |
Definition at line 59 of file EquationSolver.h.
References NAEquationSolver< Function >::fA.
Referenced by NAEquationSolver< Function >::NAEquationSolver(), and NAEquationSolver< Function >::operator=().
|
inline |
Definition at line 60 of file EquationSolver.h.
References NAEquationSolver< Function >::fB.
Referenced by NAEquationSolver< Function >::NAEquationSolver(), and NAEquationSolver< Function >::operator=().
|
inline |
Definition at line 53 of file EquationSolver.h.
References NAEquationSolver< Function >::fMaxIter.
Referenced by NAEquationSolver< Function >::NAEquationSolver(), and NAEquationSolver< Function >::operator=().
|
inline |
Definition at line 64 of file EquationSolver.h.
References NAEquationSolver< Function >::fRoot.
Referenced by NAStrangePotential::CalculateStrangePotential(), NAEquationSolver< Function >::NAEquationSolver(), and NAEquationSolver< Function >::operator=().
|
inline |
Definition at line 56 of file EquationSolver.h.
References NAEquationSolver< Function >::fTolerance.
Referenced by NAEquationSolver< Function >::NAEquationSolver(), and NAEquationSolver< Function >::operator=().
bool NAEquationSolver< Function >::operator!= | ( | const NAEquationSolver< Function > & | right | ) | const |
Definition at line 40 of file EquationSolver.cc.
References operator==().
NAEquationSolver< Function > & NAEquationSolver< Function >::operator= | ( | const NAEquationSolver< Function > & | right | ) |
Definition at line 24 of file EquationSolver.cc.
References NAEquationSolver< Function >::GetIntervalLowerLimit(), NAEquationSolver< Function >::GetIntervalUpperLimit(), NAEquationSolver< Function >::GetMaxIterations(), NAEquationSolver< Function >::GetRoot(), and NAEquationSolver< Function >::GetTolerance().
bool NAEquationSolver< Function >::operator== | ( | const NAEquationSolver< Function > & | right | ) | const |
Definition at line 34 of file EquationSolver.cc.
void NAEquationSolver< Function >::SetIntervalLimits | ( | const double | Limit1, |
const double | Limit2 | ||
) |
Referenced by NAStrangePotential::CalculateStrangePotential().
|
inline |
|
inline |
Definition at line 57 of file EquationSolver.h.
References geometryDiff::epsilon, and NAEquationSolver< Function >::fTolerance.
|
private |
Definition at line 28 of file EquationSolver.h.
Referenced by NAEquationSolver< Function >::GetIntervalLowerLimit().
|
private |
Definition at line 29 of file EquationSolver.h.
Referenced by NAEquationSolver< Function >::GetIntervalUpperLimit().
|
private |
Definition at line 25 of file EquationSolver.h.
Referenced by NAEquationSolver< Function >::GetMaxIterations(), and NAEquationSolver< Function >::SetMaxIterations().
|
private |
Definition at line 31 of file EquationSolver.h.
Referenced by NAEquationSolver< Function >::GetRoot().
|
private |
Definition at line 26 of file EquationSolver.h.
Referenced by NAEquationSolver< Function >::GetTolerance(), and NAEquationSolver< Function >::SetTolerance().