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