#include <invert_quda.h>
|
| Solver (SolverParam ¶m, TimeProfile &profile) |
|
virtual | ~Solver () |
|
virtual void | operator() (cudaColorSpinorField &out, cudaColorSpinorField &in)=0 |
|
bool | convergence (const double &r2, const double &hq2, const double &r2_tol, const double &hq_tol) |
|
bool | convergenceHQ (const double &r2, const double &hq2, const double &r2_tol, const double &hq_tol) |
|
bool | convergenceL2 (const double &r2, const double &hq2, const double &r2_tol, const double &hq_tol) |
|
void | PrintStats (const char *, int k, const double &r2, const double &b2, const double &hq2) |
|
void | PrintSummary (const char *name, int k, const double &r2, const double &b2) |
|
Definition at line 220 of file invert_quda.h.
virtual quda::Solver::~Solver |
( |
| ) |
|
|
inlinevirtual |
bool quda::Solver::convergence |
( |
const double & |
r2, |
|
|
const double & |
hq2, |
|
|
const double & |
r2_tol, |
|
|
const double & |
hq_tol |
|
) |
| |
Test for solver convergence
- Parameters
-
r2 | L2 norm squared of the residual |
hq2 | Heavy quark residual |
r2_tol | Solver L2 tolerance |
hq_tol | Solver heavy-quark tolerance |
Definition at line 82 of file solver.cpp.
bool quda::Solver::convergenceHQ |
( |
const double & |
r2, |
|
|
const double & |
hq2, |
|
|
const double & |
r2_tol, |
|
|
const double & |
hq_tol |
|
) |
| |
Test for HQ solver convergence – ignore L2 residual
- Parameters
-
r2 | L2 norm squared of the residual |
hq2 | Heavy quark residual |
r2_tol | Solver L2 tolerance |
hq_tol | Solver heavy-quark tolerance |
Definition at line 99 of file solver.cpp.
bool quda::Solver::convergenceL2 |
( |
const double & |
r2, |
|
|
const double & |
hq2, |
|
|
const double & |
r2_tol, |
|
|
const double & |
hq_tol |
|
) |
| |
Test for L2 solver convergence – ignore HQ residual
- Parameters
-
r2 | L2 norm squared of the residual |
hq2 | Heavy quark residual |
r2_tol | Solver L2 tolerance |
hq_tol | Solver heavy-quark tolerance |
Definition at line 110 of file solver.cpp.
void quda::Solver::PrintStats |
( |
const char * |
name, |
|
|
int |
k, |
|
|
const double & |
r2, |
|
|
const double & |
b2, |
|
|
const double & |
hq2 |
|
) |
| |
Prints out the running statistics of the solver (requires a verbosity of QUDA_VERBOSE)
Definition at line 122 of file solver.cpp.
void quda::Solver::PrintSummary |
( |
const char * |
name, |
|
|
int |
k, |
|
|
const double & |
r2, |
|
|
const double & |
b2 |
|
) |
| |
double quda::Solver::stopping |
( |
const double & |
tol, |
|
|
const double & |
b2, |
|
|
QudaResidualType |
residual_type |
|
) |
| |
|
static |
Set the solver stopping condition
- Parameters
-
b2 | L2 norm squared of the source vector |
Definition at line 65 of file solver.cpp.
The documentation for this class was generated from the following files: