Bridge++
Ver. 2.0.2
|
Multishift Conjugate Gradient solver. More...
#include <ashiftsolver_CG.h>
Public Types | |
typedef FIELD::real_t | real_t |
Public Member Functions | |
AShiftsolver_CG (FOPR *fopr) | |
AShiftsolver_CG (FOPR *fopr, int niter, double stop_cond) | |
~AShiftsolver_CG () | |
void | set_parameters (const Parameters ¶ms) |
void | set_parameters (const int niter, const double stop_cond) |
void | get_parameters (Parameters ¶ms) const |
void | solve (std::vector< FIELD > &solution, const std::vector< double > &shift, const FIELD &source, int &Nconv, double &diff) |
double | flop_count () |
const std::string | class_name |
Public Member Functions inherited from AShiftsolver< FIELD > | |
AShiftsolver () | |
virtual | ~AShiftsolver () |
Static Public Attributes | |
static const std::string | class_name = "AShiftsolver_CG" |
Private Member Functions | |
void | solve_init (double &) |
void | solve_step (double &) |
void | reset_field (const FIELD &b, const std::vector< double > &sigma, const int Nshift) |
Private Attributes | |
Bridge::VerboseLevel | m_vl |
FOPR * | m_fopr |
int | m_Niter |
double | m_Stop_cond |
std::vector< FIELD > | m_x |
std::vector< FIELD > | m_p |
FIELD | m_r |
FIELD | m_s |
std::vector< double > | m_zeta1 |
std::vector< double > | m_zeta2 |
std::vector< double > | m_csh2 |
std::vector< double > | m_pp |
double | m_snorm |
double | m_alpha_p |
double | m_beta_p |
int | m_Nshift2 |
double | m_sigma0 |
Multishift Conjugate Gradient solver.
[23 Dec 2011 H.Matsufuru]
unique_ptr is introduced to avoid memory leaks [21 Mar 2015 Y.Namekawa]
Definition at line 32 of file ashiftsolver_CG.h.
typedef FIELD::real_t AShiftsolver_CG< FIELD, FOPR >::real_t |
Definition at line 35 of file ashiftsolver_CG.h.
|
inline |
Definition at line 58 of file ashiftsolver_CG.h.
|
inline |
Definition at line 62 of file ashiftsolver_CG.h.
|
inline |
Definition at line 67 of file ashiftsolver_CG.h.
const std::string AShiftsolver_CG< Field, Fopr >::class_name |
Definition at line 20 of file shiftsolver_CG.cpp.
|
virtual |
Implements AShiftsolver< FIELD >.
Definition at line 327 of file ashiftsolver_CG-tmpl.h.
|
virtual |
Implements AShiftsolver< FIELD >.
Definition at line 49 of file ashiftsolver_CG-tmpl.h.
|
private |
Definition at line 286 of file ashiftsolver_CG-tmpl.h.
void AShiftsolver_CG< FIELD, FOPR >::set_parameters | ( | const int | niter, |
const double | stop_cond | ||
) |
Definition at line 60 of file ashiftsolver_CG-tmpl.h.
|
virtual |
Implements AShiftsolver< FIELD >.
Definition at line 22 of file ashiftsolver_CG-tmpl.h.
|
virtual |
Implements AShiftsolver< FIELD >.
Definition at line 88 of file ashiftsolver_CG-tmpl.h.
|
private |
Definition at line 185 of file ashiftsolver_CG-tmpl.h.
|
private |
Definition at line 211 of file ashiftsolver_CG-tmpl.h.
|
static |
Definition at line 37 of file ashiftsolver_CG.h.
|
private |
Definition at line 51 of file ashiftsolver_CG.h.
|
private |
Definition at line 51 of file ashiftsolver_CG.h.
|
private |
Definition at line 49 of file ashiftsolver_CG.h.
|
private |
Definition at line 42 of file ashiftsolver_CG.h.
|
private |
Definition at line 44 of file ashiftsolver_CG.h.
|
private |
Definition at line 52 of file ashiftsolver_CG.h.
|
private |
Definition at line 47 of file ashiftsolver_CG.h.
|
private |
Definition at line 49 of file ashiftsolver_CG.h.
|
private |
Definition at line 48 of file ashiftsolver_CG.h.
|
private |
Definition at line 48 of file ashiftsolver_CG.h.
|
private |
Definition at line 54 of file ashiftsolver_CG.h.
|
private |
Definition at line 51 of file ashiftsolver_CG.h.
|
private |
Definition at line 45 of file ashiftsolver_CG.h.
|
private |
Definition at line 40 of file ashiftsolver_CG.h.
|
private |
Definition at line 47 of file ashiftsolver_CG.h.
|
private |
Definition at line 49 of file ashiftsolver_CG.h.
|
private |
Definition at line 49 of file ashiftsolver_CG.h.