QUDA
1.0.0
|
#include <invert_quda.h>
Public Member Functions | |
SD (DiracMatrix &mat, SolverParam ¶m, TimeProfile &profile) | |
virtual | ~SD () |
void | operator() (ColorSpinorField &out, ColorSpinorField &in) |
![]() | |
Solver (SolverParam ¶m, TimeProfile &profile) | |
virtual | ~Solver () |
virtual void | blocksolve (ColorSpinorField &out, ColorSpinorField &in) |
bool | convergence (double r2, double hq2, double r2_tol, double hq_tol) |
bool | convergenceHQ (double r2, double hq2, double r2_tol, double hq_tol) |
Test for HQ solver convergence – ignore L2 residual. More... | |
bool | convergenceL2 (double r2, double hq2, double r2_tol, double hq_tol) |
Test for L2 solver convergence – ignore HQ residual. More... | |
void | PrintStats (const char *name, int k, double r2, double b2, double hq2) |
Prints out the running statistics of the solver (requires a verbosity of QUDA_VERBOSE) More... | |
void | PrintSummary (const char *name, int k, double r2, double b2, double r2_tol, double hq_tol) |
Prints out the summary of the solver convergence (requires a verbosity of QUDA_SUMMARIZE). Assumes SolverParam.true_res and SolverParam.true_res_hq has been set. More... | |
void | constructDeflationSpace (const ColorSpinorField &meta, const DiracMatrix &mat, bool svd) |
Constructs the deflation space. More... | |
virtual double | flops () const |
Private Attributes | |
const DiracMatrix & | mat |
cudaColorSpinorField * | Ar |
cudaColorSpinorField * | r |
cudaColorSpinorField * | y |
bool | init |
Additional Inherited Members | |
![]() | |
static Solver * | create (SolverParam ¶m, DiracMatrix &mat, DiracMatrix &matSloppy, DiracMatrix &matPrecon, TimeProfile &profile) |
static double | stopping (double tol, double b2, QudaResidualType residual_type) |
Set the solver L2 stopping condition. More... | |
![]() | |
EigenSolver * | eig_solve |
bool | deflate_init = false |
std::vector< ColorSpinorField * > | defl_tmp1 |
std::vector< ColorSpinorField * > | defl_tmp2 |
![]() | |
SolverParam & | param |
TimeProfile & | profile |
int | node_parity |
Definition at line 1035 of file invert_quda.h.
quda::SD::SD | ( | DiracMatrix & | mat, |
SolverParam & | param, | ||
TimeProfile & | profile | ||
) |
Definition at line 17 of file inv_sd_quda.cpp.
|
virtual |
Definition at line 23 of file inv_sd_quda.cpp.
References Ar, init, quda::SolverParam::is_preconditioner, quda::Solver::param, quda::Solver::profile, quda::QUDA_PROFILE_FREE, r, and y.
|
virtual |
Implements quda::Solver.
Definition at line 34 of file inv_sd_quda.cpp.
References Ar, quda::axpy(), quda::blas::cDotProductNormA(), commGlobalReductionSet(), getVerbosity(), quda::SolverParam::global_reduction, init, mat, quda::SolverParam::maxiter, quda::norm2(), quda::Solver::param, printfQuda, QUDA_DEBUG_VERBOSE, QUDA_VERBOSE, r, quda::sqrt(), quda::blas::xmyNorm(), y, and quda::zero().
|
private |
Definition at line 1038 of file invert_quda.h.
Referenced by operator()(), and ~SD().
|
private |
Definition at line 1041 of file invert_quda.h.
Referenced by operator()(), and ~SD().
|
private |
Definition at line 1037 of file invert_quda.h.
Referenced by operator()().
|
private |
Definition at line 1039 of file invert_quda.h.
Referenced by operator()(), and ~SD().
|
private |
Definition at line 1040 of file invert_quda.h.
Referenced by operator()(), and ~SD().