|
Bridge++
Ver. 2.0.4
|
#include <asolver_BiCGStab.h>
Public Types | |
| typedef AFIELD::real_t | real_t |
| using | InitialGuess = typename ASolver< AFIELD >::InitialGuess |
Public Types inherited from ASolver< AFIELD > | |
| enum | InitialGuess { RHS, GIVEN, ZERO } |
| typedef AFIELD::real_t | real_t |
Public Member Functions | |
| ASolver_BiCGStab (AFopr< AFIELD > *fopr) | |
| constructor. More... | |
| ~ASolver_BiCGStab () | |
| 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 | set_parameters (const int Niter, const real_t Stop_cond, const InitialGuess init_mode) |
| setting parameters. More... | |
| void | set_init_mode (const InitialGuess init_guess) |
| setting the initial guess mode More... | |
| void | set_parameters_BiCGStab_series (const real_t Omega_tolerance) |
| setting BiCGStab specific 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... | |
| const std::string | class_name |
| const std::string | class_name |
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_BiCGStab" |
Protected Member Functions | |
| ASolver_BiCGStab () | |
| calling constructor without fermion operator is forbidden. More... | |
| void | init (void) |
| void | tidyup (void) |
| void | solve_init (const AFIELD &b, real_t &rr, real_t &alpha_prev, real_t &rho_prev, real_t &omega_prev, const InitialGuess init_mode) |
| void | solve_step (real_t &rr, int &iflg, real_t &alpha_prev, real_t &rho_prev, real_t &omega_prev) |
Protected Attributes | |
| int | m_nconv |
| to remember convergence iteration to provide flop count. More... | |
| int | m_init_mult |
| to remember convergence iteration to provide flop count. More... | |
| InitialGuess | m_initial_mode |
| mode switch for initial guess More... | |
Protected Attributes inherited from ASolver< AFIELD > | |
| Bridge::VerboseLevel | m_vl |
Private Attributes | |
| AFopr< AFIELD > * | m_fopr |
| fermion operator. More... | |
| int | m_Niter |
| maximum iteration number. More... | |
| real_t | m_Stop_cond |
| stopping criterion (squared). More... | |
| real_t | m_Omega_tolerance |
| tolerance for the stability More... | |
| real_t | m_ecrit |
| to avoid too small denominator denominator. More... | |
| AFIELD | m_x |
| Matsufuru added: new AField_dev implementation. More... | |
| AFIELD | m_r |
| AFIELD | m_p |
| AFIELD | m_s |
| AFIELD | m_rh |
| AFIELD | m_v |
| AFIELD | m_t |
Definition at line 15 of file asolver_BiCGStab.h.
| using ASolver_BiCGStab< AFIELD >::InitialGuess = typename ASolver<AFIELD>::InitialGuess |
Definition at line 21 of file asolver_BiCGStab.h.
| typedef AFIELD::real_t ASolver_BiCGStab< AFIELD >::real_t |
Definition at line 18 of file asolver_BiCGStab.h.
|
inlineprotected |
calling constructor without fermion operator is forbidden.
Definition at line 51 of file asolver_BiCGStab.h.
|
inline |
constructor.
Definition at line 55 of file asolver_BiCGStab.h.
|
inline |
destructor.
Definition at line 63 of file asolver_BiCGStab.h.
| const std::string ASolver_BiCGStab< AField< double, QXS > >::class_name |
Definition at line 23 of file asolver_BiCGStab.cpp.
| const std::string ASolver_BiCGStab< AField< float, QXS > >::class_name |
Definition at line 37 of file asolver_BiCGStab.cpp.
|
virtual |
returns the floating point operation count.
Reimplemented from ASolver< AFIELD >.
Definition at line 387 of file asolver_BiCGStab-tmpl.h.
|
inlinevirtual |
returns the pointer to the fermion operator.
Reimplemented from ASolver< AFIELD >.
Definition at line 87 of file asolver_BiCGStab.h.
|
protected |
Definition at line 16 of file asolver_BiCGStab-tmpl.h.
|
inline |
setting the initial guess mode
Definition at line 75 of file asolver_BiCGStab.h.
| void ASolver_BiCGStab< AFIELD >::set_parameters | ( | const int | Niter, |
| const real_t | Stop_cond | ||
| ) |
setting parameters.
Definition at line 93 of file asolver_BiCGStab-tmpl.h.
| void ASolver_BiCGStab< AFIELD >::set_parameters | ( | const int | Niter, |
| const real_t | Stop_cond, | ||
| const InitialGuess | init_mode | ||
| ) |
setting parameters.
|
virtual |
setting parameters by a Parameter object.
Implements ASolver< AFIELD >.
Definition at line 57 of file asolver_BiCGStab-tmpl.h.
| void ASolver_BiCGStab< AFIELD >::set_parameters_BiCGStab_series | ( | const real_t | Omega_tolerance | ) |
setting BiCGStab specific parameters.
Definition at line 125 of file asolver_BiCGStab-tmpl.h.
|
virtual |
solver main.
Reimplemented from ASolver< AFIELD >.
Definition at line 142 of file asolver_BiCGStab-tmpl.h.
|
protected |
Definition at line 252 of file asolver_BiCGStab-tmpl.h.
|
protected |
Definition at line 294 of file asolver_BiCGStab-tmpl.h.
|
protected |
Definition at line 48 of file asolver_BiCGStab-tmpl.h.
|
static |
Definition at line 20 of file asolver_BiCGStab.h.
|
private |
to avoid too small denominator denominator.
Definition at line 32 of file asolver_BiCGStab.h.
|
private |
fermion operator.
Definition at line 25 of file asolver_BiCGStab.h.
|
protected |
to remember convergence iteration to provide flop count.
Definition at line 45 of file asolver_BiCGStab.h.
|
protected |
mode switch for initial guess
Definition at line 48 of file asolver_BiCGStab.h.
|
protected |
to remember convergence iteration to provide flop count.
Definition at line 42 of file asolver_BiCGStab.h.
|
private |
maximum iteration number.
Definition at line 27 of file asolver_BiCGStab.h.
|
private |
tolerance for the stability
Definition at line 30 of file asolver_BiCGStab.h.
|
private |
Definition at line 36 of file asolver_BiCGStab.h.
|
private |
Definition at line 36 of file asolver_BiCGStab.h.
|
private |
Definition at line 36 of file asolver_BiCGStab.h.
|
private |
Definition at line 36 of file asolver_BiCGStab.h.
|
private |
stopping criterion (squared).
Definition at line 28 of file asolver_BiCGStab.h.
|
private |
Definition at line 36 of file asolver_BiCGStab.h.
|
private |
Definition at line 36 of file asolver_BiCGStab.h.
|
private |
Matsufuru added: new AField_dev implementation.
Definition at line 36 of file asolver_BiCGStab.h.