Go to the documentation of this file.
28 template<
typename AFIELD>
96 #endif // ASOLVER_SAP_H
unique_ptr< ASolver_SAP_MINRES< AFIELD > > m_sap_minres
AIndex_block_lex< real_t, AFIELD::IMPL > block_index_t
real_t m_Stop_cond
stopping criterion (squared).
Base class of fermion operator family.
double flop_count()
returns the floating point operation count.
ASolver_SAP()
calling constructor without fermion operator is forbidden.
ASolver_SAP(AFopr_dd< AFIELD > *fopr, const block_index_t *block_index)
constructor.
const block_index_t * m_block_index
AFopr< AFIELD > * get_fopr()
returns the pointer to the fermion operator.
AFIELD m_x
working vectors.
int m_Nconv
iteratoin number to calculate flop
void solve(AFIELD &xq, const AFIELD &b, int &nconv, real_t &diff)
solver main.
~ASolver_SAP()
destructor.
void set_parameters(const Parameters ¶ms)
setting parameters by a Parameter object.
int m_nconv
to remember convergence iteration to provide flop count.
static const std::string class_name
Container of Field-type object.
AFopr_dd< AFIELD > * m_fopr
int m_Niter
maximum iteration number.