|
QUDA
0.9.0
|
#include <invert_quda.h>


Public Member Functions | |
| MR (DiracMatrix &mat, DiracMatrix &matSloppy, SolverParam ¶m, TimeProfile &profile) | |
| virtual | ~MR () |
| void | operator() (ColorSpinorField &out, ColorSpinorField &in) |
Public Member Functions inherited from quda::Solver | |
| Solver (SolverParam ¶m, TimeProfile &profile) | |
| virtual | ~Solver () |
| virtual void | solve (ColorSpinorField &out, ColorSpinorField &in) |
| 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) |
| virtual double | flops () const |
Private Attributes | |
| const DiracMatrix & | mat |
| const DiracMatrix & | matSloppy |
| ColorSpinorField * | rp |
| ColorSpinorField * | Arp |
| ColorSpinorField * | tmpp |
| ColorSpinorField * | yp |
| bool | init |
| bool | allocate_r |
| bool | allocate_y |
Additional Inherited Members | |
Static Public Member Functions inherited from quda::Solver | |
| static Solver * | create (SolverParam ¶m, DiracMatrix &mat, DiracMatrix &matSloppy, DiracMatrix &matPrecon, TimeProfile &profile) |
| static double | stopping (const double &tol, const double &b2, QudaResidualType residual_type) |
Protected Attributes inherited from quda::Solver | |
| SolverParam & | param |
| TimeProfile & | profile |
Definition at line 645 of file invert_quda.h.
| quda::MR::MR | ( | DiracMatrix & | mat, |
| DiracMatrix & | matSloppy, | ||
| SolverParam & | param, | ||
| TimeProfile & | profile | ||
| ) |
Definition at line 16 of file inv_mr_quda.cpp.
|
virtual |
Definition at line 22 of file inv_mr_quda.cpp.
References allocate_r, allocate_y, Arp, init, quda::SolverParam::is_preconditioner, quda::Solver::param, quda::Solver::profile, quda::QUDA_PROFILE_FREE, rp, tmpp, and yp.
|
virtual |
Implements quda::Solver.
Definition at line 34 of file inv_mr_quda.cpp.
References allocate_r, allocate_y, Arp, quda::blas::ax(), quda::blas::axpby(), quda::blas::axpy(), b, quda::blas::caxpyXmaz(), quda::blas::caxpyXmazMR(), quda::blas::cDotProductNormA(), quda::blas::cDotProductNormB(), commAsyncReductionSet(), commGlobalReductionSet(), quda::blas::copy(), quda::ColorSpinorField::Create(), csParam, e, quda::blas::flops, quda::DiracMatrix::flops(), getVerbosity(), quda::SolverParam::gflops, quda::SolverParam::global_reduction, init, quda::SolverParam::is_preconditioner, quda::SolverParam::iter, quda::TimeProfile::Last(), mat, matSloppy, quda::blas::norm2(), omega, quda::SolverParam::omega, quda::Solver::param, quda::SolverParam::precision_sloppy, quda::SolverParam::preserve_source, printfQuda, quda::Solver::profile, QUDA_DEBUG_VERBOSE, QUDA_PRESERVE_SOURCE_NO, QUDA_PRESERVE_SOURCE_YES, quda::QUDA_PROFILE_COMPUTE, quda::QUDA_PROFILE_EPILOGUE, QUDA_SUMMARIZE, QUDA_USE_INIT_GUESS_YES, QUDA_VERBOSE, QUDA_ZERO_FIELD_CREATE, rp, quda::SolverParam::secs, quda::sqrt(), tmp, tmpp, quda::SolverParam::true_res, quda::SolverParam::use_init_guess, x, quda::blas::xmyNorm(), y, yp, and quda::blas::zero().

|
private |
Definition at line 655 of file invert_quda.h.
Referenced by operator()(), and ~MR().
|
private |
Definition at line 656 of file invert_quda.h.
Referenced by operator()(), and ~MR().
|
private |
Definition at line 651 of file invert_quda.h.
Referenced by operator()(), and ~MR().
|
private |
Definition at line 654 of file invert_quda.h.
Referenced by operator()(), and ~MR().
|
private |
Definition at line 648 of file invert_quda.h.
Referenced by operator()().
|
private |
Definition at line 649 of file invert_quda.h.
Referenced by operator()().
|
private |
Definition at line 650 of file invert_quda.h.
Referenced by operator()(), and ~MR().
|
private |
Definition at line 652 of file invert_quda.h.
Referenced by operator()(), and ~MR().
|
private |
Definition at line 653 of file invert_quda.h.
Referenced by operator()(), and ~MR().
1.8.14