Go to the documentation of this file.
15 #ifndef ASOLVER_RICHARDSON_H
16 #define ASOLVER_RICHARDSON_H
29 template<
typename AFIELD>
130 #endif // ASOLVER_RICHARDSON_H
void solve_init(const AFIELD &b, const AFIELD &xq, real_t &rr)
static const std::string class_name
real_t m_Stop_cond2
stopping criterion for inner solver.
int m_nconv
to remember convergence iteration to provide flop count.
void tidyup(void)
final tidy-up.
double flop_count()
returns the floating point operation count.
double flop_count_intermediate(const int iter)
APrecond< AFIELD > * m_prec
preconditioner.
ASolver_Richardson()
calling constructor without fermion operator is forbidden.
AFopr< AFIELD > * get_afopr()
returns the pointer to the fermion operator.
void prec(AFIELD &, AFIELD &)
AFIELD m_r
Matsufuru added: new AField_dev implementation.
~ASolver_Richardson()
destructor.
void solve(AFIELD &xq, const AFIELD &b, int &nconv, real_t &diff)
solver main.
int m_Niter
maximum iteration number.
real_t m_Stop_cond
stopping criterion (squared).
void init(void)
initial setup.
ASolver_Richardson(AFopr< AFIELD > *fopr, APrecond< AFIELD > *prec)
constructor.
void set_parameters(const Parameters ¶ms)
setting parameters by a Parameter object.
InitialGuess m_initial_mode
AFopr< AFIELD > * m_fopr
fermion operator.
Container of Field-type object.
typename ASolver< AFIELD >::InitialGuess InitialGuess