![]() |
QMCPACK
|
Classes | |
class | IntervalResult |
Public Member Functions | |
GKIntegration (F &f_) | |
void | SetAbsoluteErrorMode () |
void | SetRelativeErrorMode () |
double | Integrate (const double a, const double b, const double acc) |
double | Integrate (const double a, const double b, const double accAbs, const double accRel, const bool andFlag) |
Private Member Functions | |
void | GK (IntervalResult &r) |
void | GKGeneral (const int n, const double xgk[], const double wg[], const double wgk[], IntervalResult &r) |
void | PrintList () |
void | PrintMax () |
void | CheckList () |
void | CheckError (const double err) |
double | RecomputeError () |
void | Insert (const IntervalResult &r) |
double | Integrate (const double a, const double b, const double absError, const bool absErrorFlag, const double relError, const bool relErrorFlag, const bool andFlag) |
Private Attributes | |
std::list< IntervalResult > | ir |
F & | f |
bool | relativeErrors |
Definition at line 90 of file GKIntegration.h.
|
inline |
Definition at line 115 of file GKIntegration.h.
|
inlineprivate |
Definition at line 215 of file GKIntegration.h.
References qmcplusplus::abs(), BMWrite4, qmcplusplus::Units::charge::e, error(), and GKIntegration< F, GKRule >::ir.
|
inlineprivate |
Definition at line 196 of file GKIntegration.h.
References BMWrite2, error(), GKIntegration< F, GKRule >::ir, and GKIntegration< F, GKRule >::PrintList().
|
inlineprivate |
Definition at line 122 of file GKIntegration.h.
References GKIntegration< F, GKRule >::GKGeneral(), and qmcplusplus::n.
Referenced by GKIntegration< F, GKRule >::Integrate().
|
inlineprivate |
Definition at line 125 of file GKIntegration.h.
References GKIntegration< F, GKRule >::IntervalResult::a, qmcplusplus::abs(), GKIntegration< F, GKRule >::IntervalResult::b, GKIntegration< F, GKRule >::IntervalResult::delta, GKIntegration< F, GKRule >::IntervalResult::err, GKIntegration< F, GKRule >::f, qmcplusplus::n, and GKIntegration< F, GKRule >::IntervalResult::result.
Referenced by GKIntegration< F, GKRule >::GK().
|
inlineprivate |
Definition at line 256 of file GKIntegration.h.
References GKIntegration< F, GKRule >::IntervalResult::err, and GKIntegration< F, GKRule >::ir.
Referenced by GKIntegration< F, GKRule >::Integrate().
|
inlineprivate |
Definition at line 293 of file GKIntegration.h.
References qmcplusplus::abs(), GKIntegration< F, GKRule >::IntervalResult::delta, qmcplusplus::Units::charge::e, GKIntegration< F, GKRule >::IntervalResult::err, GKIntegration< F, GKRule >::GK(), GKIntegration< F, GKRule >::Insert(), GKIntegration< F, GKRule >::ir, qmcplusplus::ldexp(), GKIntegration< F, GKRule >::PrintMax(), GKIntegration< F, GKRule >::RecomputeError(), GKIntegration< F, GKRule >::IntervalResult::result, and warning().
Referenced by GKIntegration< F, GKRule >::Integrate().
|
inline |
Definition at line 450 of file GKIntegration.h.
References GKIntegration< F, GKRule >::Integrate(), and GKIntegration< F, GKRule >::relativeErrors.
|
inline |
Definition at line 454 of file GKIntegration.h.
References GKIntegration< F, GKRule >::Integrate().
|
inlineprivate |
Definition at line 169 of file GKIntegration.h.
References BMWrite2, and GKIntegration< F, GKRule >::ir.
Referenced by GKIntegration< F, GKRule >::CheckList().
|
inlineprivate |
Definition at line 183 of file GKIntegration.h.
References BMWrite, and GKIntegration< F, GKRule >::ir.
Referenced by GKIntegration< F, GKRule >::Integrate().
|
inlineprivate |
Definition at line 241 of file GKIntegration.h.
References GKIntegration< F, GKRule >::ir.
Referenced by GKIntegration< F, GKRule >::Integrate().
|
inline |
Definition at line 117 of file GKIntegration.h.
References GKIntegration< F, GKRule >::relativeErrors.
|
inline |
Definition at line 118 of file GKIntegration.h.
References GKIntegration< F, GKRule >::relativeErrors.
|
private |
Definition at line 111 of file GKIntegration.h.
Referenced by GKIntegration< F, GKRule >::GKGeneral().
|
private |
Definition at line 110 of file GKIntegration.h.
Referenced by GKIntegration< F, GKRule >::CheckError(), GKIntegration< F, GKRule >::CheckList(), GKIntegration< F, GKRule >::Insert(), GKIntegration< F, GKRule >::Integrate(), GKIntegration< F, GKRule >::PrintList(), GKIntegration< F, GKRule >::PrintMax(), and GKIntegration< F, GKRule >::RecomputeError().
|
private |
Definition at line 112 of file GKIntegration.h.
Referenced by GKIntegration< F, GKRule >::Integrate(), GKIntegration< F, GKRule >::SetAbsoluteErrorMode(), and GKIntegration< F, GKRule >::SetRelativeErrorMode().