Bridge++
Ver. 2.0.2
|
#include <fopr_WilsonGeneral_impl.h>
Public Member Functions | |
DEPRECATED | Fopr_WilsonGeneral () |
DEPRECATED | Fopr_WilsonGeneral (std::string repr) |
Fopr_WilsonGeneral (const Parameters ¶ms) | |
~Fopr_WilsonGeneral () | |
void | init (const std::string repr) |
void | set_parameters (const Parameters ¶ms) |
sets parameters by a Parameter object: to be implemented in a subclass. More... | |
void | set_parameters (const double kappa_s, const double kappa_t, const double nu_s, const double r_s) |
void | set_parameters (const double kappa_s, const double kappa_t, const double nu_s, const double r_s, const std::vector< int > bc) |
void | get_parameters (Parameters ¶ms) const |
gets parameters by a Parameter object: to be implemented in a subclass. More... | |
void | set_config (Field *U) |
sets the gauge configuration. More... | |
void | set_mode (const std::string mode) |
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call. More... | |
std::string | get_mode () const |
void | mult (Field &v, const Field &f) |
multiplies fermion operator to a given field. More... | |
void | mult_dag (Field &v, const Field &f) |
hermitian conjugate of mult. More... | |
void | mult_gm5 (Field &v, const Field &f) |
multiplies gamma_5 matrix. More... | |
void | proj_chiral (Field &w, const int ex1, const Field &v, const int ex2, const int ipm) |
void | D (Field &v, const Field &f) |
void | D_ex (Field &v, const int ex1, const Field &f, const int ex2) |
void | Ddag (Field &w, const Field &f) |
void | DdagD (Field &w, const Field &f) |
void | DDdag (Field &w, const Field &f) |
void | H (Field &w, const Field &f) |
void | mult_undef (Field &, const Field &f) |
const Field_F | mult_gm5p (const int mu, const Field_F &w) |
void | mult_gm5p (const int mu, Field_F &v, const Field_F &w) |
double | flop_count () |
this returns the number of floating point operations. More... | |
int | field_nvol () |
returns the volume of the fermion field. More... | |
int | field_nin () |
returns the on-site degree of freedom of the fermion field. More... | |
int | field_nex () |
returns the external degree of freedom of the fermion field. More... | |
void | mult_up (const int mu, Field &w, const Field &f) |
upward nearest neighbor hopping term. More... | |
void | mult_dn (const int mu, Field &w, const Field &f) |
downward nearest neighbor hopping term. More... | |
Public Member Functions inherited from AFopr< Field > | |
AFopr () | |
virtual | ~AFopr () |
virtual std::string | get_mode () const |
returns the current mult mode. More... | |
virtual void | mult (Field &, const Field &, const std::string mode) |
executes mult with specified mode (unchanging internal mode). More... | |
virtual void | mult_dag (Field &, const Field &, const std::string mode) |
executes mult_dag with specified mode (unchanging internal mode). More... | |
virtual void | normalize_fprop (Field &) |
normalize propagator if necessary (default: do nothing) More... | |
virtual void | normalize_fopr (Field &) |
normalize propagator if necessary (default: do nothing) More... | |
virtual double | flop_count (const std::string mode) |
returns the flops per site for specified mode. More... | |
virtual bool | needs_convert () |
returns true if additional field conversion is needed. More... | |
virtual void | convert (Field &, const Field &) |
converts a Field object into other format if necessary. More... | |
virtual void | reverse (Field &, const Field &) |
converts an alternative field to a Field object. More... | |
Static Public Attributes | |
static const std::string | class_name = "Org::Fopr_WilsonGeneral" |
Private Member Functions | |
Fopr_WilsonGeneral (const Fopr_WilsonGeneral &) | |
Fopr_WilsonGeneral & | operator= (const Fopr_WilsonGeneral &) |
Private Attributes | |
Bridge::VerboseLevel | m_vl |
int | m_Nvol |
int | m_Ndim |
int | m_Nc |
int | m_Nd |
double | m_kappa_s |
double | m_kappa_t |
double | m_nu_s |
double | m_r_s |
std::vector< int > | m_boundary |
std::string | m_mode |
std::string | m_repr |
void(Fopr_WilsonGeneral::* | m_mult )(Field &, const Field &) |
void(Fopr_WilsonGeneral::* | m_mult_dag )(Field &, const Field &) |
const Field_G * | m_U |
std::vector< GammaMatrix > | m_GM |
ShiftField_lex | m_shift |
Field_F | m_trf |
Field_F | m_trf2 |
Additional Inherited Members | |
Static Protected Attributes inherited from AFopr< Field > | |
static const std::string | class_name |
Definition at line 36 of file fopr_WilsonGeneral_impl.h.
|
inline |
Definition at line 69 of file fopr_WilsonGeneral_impl.h.
|
inline |
Definition at line 72 of file fopr_WilsonGeneral_impl.h.
|
inline |
Definition at line 75 of file fopr_WilsonGeneral_impl.h.
|
inline |
Definition at line 83 of file fopr_WilsonGeneral_impl.h.
|
inlineprivate |
Definition at line 181 of file fopr_WilsonGeneral_impl.h.
Definition at line 167 of file fopr_WilsonGeneral_impl.cpp.
Definition at line 186 of file fopr_WilsonGeneral_impl.cpp.
Definition at line 117 of file fopr_WilsonGeneral_impl.h.
Definition at line 126 of file fopr_WilsonGeneral_impl.h.
Definition at line 136 of file fopr_WilsonGeneral_impl.h.
|
inlinevirtual |
returns the external degree of freedom of the fermion field.
Implements AFopr< Field >.
Definition at line 173 of file fopr_WilsonGeneral_impl.h.
|
inlinevirtual |
returns the on-site degree of freedom of the fermion field.
Implements AFopr< Field >.
Definition at line 171 of file fopr_WilsonGeneral_impl.h.
|
inlinevirtual |
returns the volume of the fermion field.
Implements AFopr< Field >.
Definition at line 169 of file fopr_WilsonGeneral_impl.h.
|
virtual |
this returns the number of floating point operations.
Reimplemented from AFopr< Field >.
Definition at line 336 of file fopr_WilsonGeneral_impl.cpp.
std::string Org::Fopr_WilsonGeneral::get_mode | ( | ) | const |
Definition at line 86 of file fopr_WilsonGeneral_impl.cpp.
|
virtual |
gets parameters by a Parameter object: to be implemented in a subclass.
Reimplemented from AFopr< Field >.
Definition at line 122 of file fopr_WilsonGeneral_impl.cpp.
Definition at line 146 of file fopr_WilsonGeneral_impl.h.
void Org::Fopr_WilsonGeneral::init | ( | const std::string | repr | ) |
Definition at line 26 of file fopr_WilsonGeneral_impl.cpp.
multiplies fermion operator to a given field.
Reimplemented from AFopr< Field >.
Definition at line 103 of file fopr_WilsonGeneral_impl.h.
hermitian conjugate of mult.
Reimplemented from AFopr< Field >.
Definition at line 106 of file fopr_WilsonGeneral_impl.h.
downward nearest neighbor hopping term.
Reimplemented from AFopr< Field >.
Definition at line 305 of file fopr_WilsonGeneral_impl.cpp.
multiplies gamma_5 matrix.
Reimplemented from AFopr< Field >.
Definition at line 204 of file fopr_WilsonGeneral_impl.cpp.
Definition at line 258 of file fopr_WilsonGeneral_impl.cpp.
Definition at line 154 of file fopr_WilsonGeneral_impl.h.
upward nearest neighbor hopping term.
Reimplemented from AFopr< Field >.
Definition at line 272 of file fopr_WilsonGeneral_impl.cpp.
|
private |
void Org::Fopr_WilsonGeneral::proj_chiral | ( | Field & | w, |
const int | ex1, | ||
const Field & | v, | ||
const int | ex2, | ||
const int | ipm | ||
) |
Definition at line 218 of file fopr_WilsonGeneral_impl.cpp.
|
inlinevirtual |
sets the gauge configuration.
Implements AFopr< Field >.
Definition at line 96 of file fopr_WilsonGeneral_impl.h.
|
virtual |
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call.
Reimplemented from AFopr< Field >.
Definition at line 59 of file fopr_WilsonGeneral_impl.cpp.
void Org::Fopr_WilsonGeneral::set_parameters | ( | const double | kappa_s, |
const double | kappa_t, | ||
const double | nu_s, | ||
const double | r_s | ||
) |
void Org::Fopr_WilsonGeneral::set_parameters | ( | const double | kappa_s, |
const double | kappa_t, | ||
const double | nu_s, | ||
const double | r_s, | ||
const std::vector< int > | bc | ||
) |
Definition at line 135 of file fopr_WilsonGeneral_impl.cpp.
|
virtual |
sets parameters by a Parameter object: to be implemented in a subclass.
Reimplemented from AFopr< Field >.
Definition at line 93 of file fopr_WilsonGeneral_impl.cpp.
|
static |
Definition at line 39 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 52 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 62 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 50 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 50 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 54 of file fopr_WilsonGeneral_impl.h.
Definition at line 57 of file fopr_WilsonGeneral_impl.h.
Definition at line 58 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 47 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 48 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 46 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 51 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 45 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 51 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 55 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 64 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 65 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 65 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 60 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 42 of file fopr_WilsonGeneral_impl.h.