CHROMA
|
Minimal residual predictor. More...
#include <mre_initcg_extrap_predictor.h>
Public Member Functions | |
MREInitCG4DChronoPredictor (unsigned int max_chrono, const std::string &eigen_id, unsigned int max_evec) | |
~MREInitCG4DChronoPredictor (void) | |
void | operator() (LatticeFermion &psi, const LinearOperator< LatticeFermion > &A, const LatticeFermion &chi) |
void | reset (void) |
void | newVector (const LatticeFermion &psi) |
Public Member Functions inherited from Chroma::AbsChronologicalPredictor4D< LatticeFermion > | |
virtual | ~AbsChronologicalPredictor4D (void) |
Private Member Functions | |
void | find_extrap_solution (LatticeFermion &psi, const LinearOperator< LatticeFermion > &A, const LatticeFermion &chi) |
Private Attributes | |
Handle< CircularBuffer< LatticeFermion > > | chrono_buf |
std::string | opt_eigen_id |
int | Neig |
Minimal residual predictor.
Definition at line 32 of file mre_initcg_extrap_predictor.h.
|
inline |
Definition at line 47 of file mre_initcg_extrap_predictor.h.
|
inline |
Definition at line 50 of file mre_initcg_extrap_predictor.h.
|
private |
Definition at line 77 of file mre_initcg_extrap_predictor.cc.
References Chroma::a, Chroma::A(), Chroma::b, Chroma::chi(), chrono_buf, Chroma::LinAlg::OptEigInfo::CvToEigCGvec(), Chroma::LinAlg::OptEigInfo::CvToLatFerm(), Chroma::END_CODE(), Chroma::GramSchm(), Chroma::i, Chroma::InlinePropAndMatElemDistillation2Env::local::innerProduct(), Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), j, Chroma::LUSolve(), m, n, Chroma::LinAlg::OptEigInfo::ncurEvals, Neig, norm, opt_eigen_id, Chroma::PLUS, Chroma::psi, Chroma::s(), Chroma::SN_Jacob(), Chroma::START_CODE(), and Chroma::zero.
Referenced by operator()().
|
inlinevirtual |
Implements Chroma::AbsChronologicalPredictor4D< LatticeFermion >.
Definition at line 63 of file mre_initcg_extrap_predictor.h.
References chrono_buf, Chroma::END_CODE(), Chroma::psi, and Chroma::START_CODE().
|
virtual |
Implements Chroma::AbsChronologicalPredictor4D< LatticeFermion >.
Definition at line 61 of file mre_initcg_extrap_predictor.cc.
References Chroma::chi(), Chroma::END_CODE(), find_extrap_solution(), Chroma::psi, and Chroma::START_CODE().
|
inlinevirtual |
Implements Chroma::AbsChronologicalPredictor4D< LatticeFermion >.
Definition at line 58 of file mre_initcg_extrap_predictor.h.
References chrono_buf.
|
private |
Definition at line 36 of file mre_initcg_extrap_predictor.h.
Referenced by find_extrap_solution(), newVector(), and reset().
|
private |
Definition at line 43 of file mre_initcg_extrap_predictor.h.
Referenced by find_extrap_solution().
|
private |
Definition at line 42 of file mre_initcg_extrap_predictor.h.
Referenced by find_extrap_solution().