#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.
Referenced by NAEquationSolver< Function >::NAEquationSolver().
|
inline |
Definition at line 38 of file EquationSolver.h.
References NAEquationSolver< Function >::NAEquationSolver().
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.
References NAEquationSolver< Function >::operator!=(), NAEquationSolver< Function >::operator=(), and NAEquationSolver< Function >::operator==().
bool NAEquationSolver< Function >::Brent | ( | Function & | theFunction | ) |
|
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, and NAEquationSolver< Function >::SetIntervalLimits().
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 >::Brent(), and 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==().
Referenced by NAEquationSolver< Function >::~NAEquationSolver().
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().
Referenced by NAEquationSolver< Function >::~NAEquationSolver().
bool NAEquationSolver< Function >::operator== | ( | const NAEquationSolver< Function > & | right | ) | const |
Definition at line 34 of file EquationSolver.cc.
Referenced by NAEquationSolver< Function >::~NAEquationSolver().
void NAEquationSolver< Function >::SetIntervalLimits | ( | const double | Limit1, |
const double | Limit2 | ||
) |
|
inline |
Definition at line 54 of file EquationSolver.h.
|
inline |
|
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().
|
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().