Bridge++
Ver. 2.0.2
|
#include <asolver_SAP_QWS.h>
Public Types | |
typedef AFIELD::real_t | real_t |
Public Types inherited from ASolver< AFIELD > | |
enum | InitialGuess { RHS, GIVEN, ZERO } |
typedef AFIELD::real_t | real_t |
Public Member Functions | |
ASolver_SAP_QWS (AFopr_dd< AFIELD > *fopr) | |
constructor. More... | |
~ASolver_SAP_QWS () | |
destructor. More... | |
void | set_parameters (const Parameters ¶ms) |
setting parameters by a Parameter object. More... | |
void | set_parameters (const int Niter, const real_t Stop_cond) |
setting parameters. More... | |
void | solve (AFIELD &xq, const AFIELD &b, int &nconv, real_t &diff) |
solver main. More... | |
AFopr< AFIELD > * | get_fopr () |
returns the pointer to the fermion operator. More... | |
double | flop_count () |
returns the floating point operation count. More... | |
Public Member Functions inherited from ASolver< AFIELD > | |
ASolver () | |
virtual | ~ASolver () |
void | set_parameter_verboselevel (const Bridge::VerboseLevel vl) |
virtual void | set_init_mode (const InitialGuess init_guess) |
Static Public Attributes | |
static const std::string | class_name = "ASolver_SAP_QWS" |
Protected Member Functions | |
ASolver_SAP_QWS () | |
calling constructor without fermion operator is forbidden. More... | |
void | init (void) |
void | tidyup (void) |
Protected Attributes | |
AFopr_Clover_QWS_dd< AFIELD > * | m_fopr |
int | m_Niter |
maximum iteration number. More... | |
real_t | m_Stop_cond |
stopping criterion (squared). More... | |
int | m_Nconv |
iteratoin number to calculate flop More... | |
double | m_flop |
flop count More... | |
const int | m_nm = 10 |
fixted iteration for the inner jacobi iteration More... | |
int | m_nconv |
to remember convergence iteration to provide flop count. More... | |
AFIELD | m_x |
working vectors. More... | |
AFIELD | m_r |
AFIELD | m_b |
Protected Attributes inherited from ASolver< AFIELD > | |
Bridge::VerboseLevel | m_vl |
Definition at line 33 of file asolver_SAP_QWS.h.
typedef AFIELD::real_t ASolver_SAP_QWS< AFIELD >::real_t |
Definition at line 36 of file asolver_SAP_QWS.h.
|
inlineprotected |
calling constructor without fermion operator is forbidden.
Definition at line 55 of file asolver_SAP_QWS.h.
|
inline |
constructor.
Definition at line 66 of file asolver_SAP_QWS.h.
|
inline |
destructor.
Definition at line 83 of file asolver_SAP_QWS.h.
|
virtual |
returns the floating point operation count.
Reimplemented from ASolver< AFIELD >.
|
inlinevirtual |
returns the pointer to the fermion operator.
Reimplemented from ASolver< AFIELD >.
Definition at line 95 of file asolver_SAP_QWS.h.
|
protected |
void ASolver_SAP_QWS< AFIELD >::set_parameters | ( | const int | Niter, |
const real_t | Stop_cond | ||
) |
setting parameters.
|
virtual |
setting parameters by a Parameter object.
Implements ASolver< AFIELD >.
|
virtual |
solver main.
Reimplemented from ASolver< AFIELD >.
|
protected |
|
static |
Definition at line 38 of file asolver_SAP_QWS.h.
|
protected |
Definition at line 58 of file asolver_SAP_QWS.h.
|
protected |
flop count
Definition at line 48 of file asolver_SAP_QWS.h.
|
protected |
Definition at line 43 of file asolver_SAP_QWS.h.
|
protected |
iteratoin number to calculate flop
Definition at line 47 of file asolver_SAP_QWS.h.
|
protected |
to remember convergence iteration to provide flop count.
Definition at line 52 of file asolver_SAP_QWS.h.
|
protected |
maximum iteration number.
Definition at line 45 of file asolver_SAP_QWS.h.
|
protected |
fixted iteration for the inner jacobi iteration
Definition at line 49 of file asolver_SAP_QWS.h.
|
protected |
Definition at line 58 of file asolver_SAP_QWS.h.
|
protected |
stopping criterion (squared).
Definition at line 46 of file asolver_SAP_QWS.h.
|
protected |
working vectors.
Definition at line 58 of file asolver_SAP_QWS.h.