|
Bridge++
Ver. 1.1.x
|
Fermion operator for rational approximation. More...
#include <fopr_Rational.h>
Public Member Functions | |
| Fopr_Rational (Fopr *fopr) | |
| ~Fopr_Rational () | |
| void | set_parameters (const Parameters ¶ms) |
| void | set_parameters (int Np, int n_exp, int d_exp, double x_min, double x_max, int Niter, double Stop_cond) |
| void | set_config (Field *U) |
| setting pointer to the gauge configuration. More... | |
| const Field | mult (const Field &f) |
| multiplies fermion operator to a given field and returns the resultant field. More... | |
| void | mult (Field &v, const Field &f) |
| multiplies fermion operator to a given field (2nd argument) More... | |
| const Field | mult_dag (const Field &f) |
| hermitian conjugate of mult(const Field&). More... | |
| void | mult_dag (Field &v, const Field &f) |
| hermitian conjugate of mult(Field&, const Field&). More... | |
| double | func (double x) |
| int | field_nvol () |
| returns the volume for which the fermion operator is defined. More... | |
| int | field_nin () |
| returns the on-site d.o.f. for which the fermion operator is defined. More... | |
| int | field_nex () |
| returns the external d.o.f. for which the fermion operator is defined. More... | |
Public Member Functions inherited from Fopr | |
| Fopr () | |
| virtual | ~Fopr () |
| void | set_parameter_verboselevel (const Bridge::VerboseLevel vl) |
| virtual void | mult_up (int mu, Field &, const Field &) |
| nearest neighbor hopping term: temporary entry [H.Matsufuru] More... | |
| virtual void | mult_dn (int mu, Field &, const Field &) |
| virtual void | set_mode (std::string mode) |
| setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call. More... | |
| virtual std::string | get_mode () const |
Private Member Functions | |
| void | init_parameters () |
Private Attributes | |
| int | m_Np |
| int | m_n_exp |
| int | m_d_exp |
| double | m_x_min |
| double | m_x_max |
| int | m_Niter |
| double | m_Stop_cond |
| Fopr * | m_fopr |
| Shiftsolver_CG * | m_solver |
| double | m_a0 |
| std::valarray< double > | m_cl |
| std::valarray< double > | m_bl |
| std::valarray< Field > | m_xq |
Additional Inherited Members | |
Protected Attributes inherited from Fopr | |
| Bridge::VerboseLevel | m_vl |
Fermion operator for rational approximation.
This class generates fermion operator with rational approximation for a given fermion operator (given to the constructer). Shift-solver is used which is at present set to the CG solver explicitly. 05 Dec 2011 H.Matsufuru YAML is implemented. [14 Nov 2012 Y.Namekawa]
Definition at line 46 of file fopr_Rational.h.
|
inline |
Definition at line 65 of file fopr_Rational.h.
|
inline |
Definition at line 68 of file fopr_Rational.h.
|
inlinevirtual |
returns the external d.o.f. for which the fermion operator is defined.
Implements Fopr.
Definition at line 103 of file fopr_Rational.h.
|
inlinevirtual |
returns the on-site d.o.f. for which the fermion operator is defined.
Implements Fopr.
Definition at line 102 of file fopr_Rational.h.
|
inlinevirtual |
returns the volume for which the fermion operator is defined.
Implements Fopr.
Definition at line 101 of file fopr_Rational.h.
| double Fopr_Rational::func | ( | double | x | ) |
Definition at line 180 of file fopr_Rational.cpp.
|
private |
Definition at line 122 of file fopr_Rational.cpp.
multiplies fermion operator to a given field and returns the resultant field.
Implements Fopr.
Definition at line 156 of file fopr_Rational.cpp.
multiplies fermion operator to a given field (2nd argument)
Reimplemented from Fopr.
Definition at line 84 of file fopr_Rational.h.
hermitian conjugate of mult(const Field&).
Reimplemented from Fopr.
Definition at line 89 of file fopr_Rational.h.
hermitian conjugate of mult(Field&, const Field&).
Reimplemented from Fopr.
Definition at line 94 of file fopr_Rational.h.
|
inlinevirtual |
setting pointer to the gauge configuration.
Implements Fopr.
Definition at line 77 of file fopr_Rational.h.
|
virtual |
Implements Fopr.
Definition at line 47 of file fopr_Rational.cpp.
| void Fopr_Rational::set_parameters | ( | int | Np, |
| int | n_exp, | ||
| int | d_exp, | ||
| double | x_min, | ||
| double | x_max, | ||
| int | Niter, | ||
| double | Stop_cond | ||
| ) |
Definition at line 79 of file fopr_Rational.cpp.
|
private |
Definition at line 58 of file fopr_Rational.h.
|
private |
Definition at line 60 of file fopr_Rational.h.
|
private |
Definition at line 59 of file fopr_Rational.h.
|
private |
Definition at line 50 of file fopr_Rational.h.
|
private |
Definition at line 55 of file fopr_Rational.h.
|
private |
Definition at line 50 of file fopr_Rational.h.
|
private |
Definition at line 52 of file fopr_Rational.h.
|
private |
Definition at line 49 of file fopr_Rational.h.
|
private |
Definition at line 56 of file fopr_Rational.h.
|
private |
Definition at line 53 of file fopr_Rational.h.
|
private |
Definition at line 51 of file fopr_Rational.h.
|
private |
Definition at line 51 of file fopr_Rational.h.
|
private |
Definition at line 61 of file fopr_Rational.h.