Bridge++
Ver. 2.0.2
|
Wilson fermion operator with SF BC. More...
#include <fopr_Wilson_SF.h>
Public Member Functions | |
Fopr_Wilson_SF () | |
Fopr_Wilson_SF (const Parameters ¶ms) | |
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, 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... | |
~Fopr_Wilson_SF () | |
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 (Field &v, const Field &f, const std::string mode) |
executes mult with specified mode (unchanging internal mode). More... | |
void | mult_dag (Field &v, const Field &f, const std::string mode) |
executes mult_dag with specified mode (unchanging internal mode). 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 | DdagD (Field &, const Field &) |
void | D (Field &, const Field &) |
void | Ddag (Field &, const Field &) |
void | H (Field &, const Field &) |
void | mult_gm5 (Field &v, const Field &w) |
multiplies gamma_5 matrix. More... | |
void | mult_gm5p (const int mu, Field &v, const Field &w) |
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... | |
double | flop_count () |
this returns the number of floating point operations. 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_up (int mu, Field &, const Field &) |
upward nearest neighbor hopping term. More... | |
virtual void | mult_dn (int mu, Field &, const Field &) |
downward nearest neighbor hopping term. 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 = "Fopr_Wilson_SF" |
Private Member Functions | |
void | init () |
void | tidyup () |
void | set_boundary_zero (Field &) |
A function to set the fermion field to zero at the t=0 boundary. More... | |
Private Attributes | |
Bridge::VerboseLevel | m_vl |
int | m_Nvol |
int | m_Ndim |
int | m_Nc |
int | m_Nd |
int | m_NinF |
double | m_kappa |
std::vector< int > | m_boundary |
std::string | m_repr |
std::string | m_mode |
Fopr_Wilson * | m_fopr_w |
const Field_G * | m_U |
Field | m_w1 |
Field | m_w2 |
Additional Inherited Members | |
Static Protected Attributes inherited from AFopr< Field > | |
static const std::string | class_name |
Wilson fermion operator with SF BC.
This class implements the Wilson fermion operator with the SF BC.
(Coding history will be recovered from trac.) YAML is implemented. [14 Nov 2012 Y.Namekawa] unique_ptr is introduced to avoid memory leaks [21 Mar 2015 Y.Namekawa] Multi-threading appled. [29 Dec 2022 H.Matsufuru]
Definition at line 51 of file fopr_Wilson_SF.h.
|
inline |
Definition at line 73 of file fopr_Wilson_SF.h.
|
inline |
Definition at line 75 of file fopr_Wilson_SF.h.
|
inline |
Definition at line 88 of file fopr_Wilson_SF.h.
Definition at line 277 of file fopr_Wilson_SF.cpp.
Definition at line 253 of file fopr_Wilson_SF.cpp.
Definition at line 243 of file fopr_Wilson_SF.cpp.
|
inlinevirtual |
returns the external degree of freedom of the fermion field.
Implements AFopr< Field >.
Definition at line 113 of file fopr_Wilson_SF.h.
|
inlinevirtual |
returns the on-site degree of freedom of the fermion field.
Implements AFopr< Field >.
Definition at line 112 of file fopr_Wilson_SF.h.
|
inlinevirtual |
returns the volume of the fermion field.
Implements AFopr< Field >.
Definition at line 111 of file fopr_Wilson_SF.h.
|
virtual |
this returns the number of floating point operations.
Reimplemented from AFopr< Field >.
Definition at line 309 of file fopr_Wilson_SF.cpp.
|
inline |
Definition at line 100 of file fopr_Wilson_SF.h.
|
virtual |
gets parameters by a Parameter object: to be implemented in a subclass.
Reimplemented from AFopr< Field >.
Definition at line 129 of file fopr_Wilson_SF.cpp.
Definition at line 262 of file fopr_Wilson_SF.cpp.
|
private |
Definition at line 29 of file fopr_Wilson_SF.cpp.
multiplies fermion operator to a given field.
Reimplemented from AFopr< Field >.
Definition at line 153 of file fopr_Wilson_SF.cpp.
executes mult with specified mode (unchanging internal mode).
Reimplemented from AFopr< Field >.
Definition at line 191 of file fopr_Wilson_SF.cpp.
hermitian conjugate of mult.
Reimplemented from AFopr< Field >.
Definition at line 172 of file fopr_Wilson_SF.cpp.
executes mult_dag with specified mode (unchanging internal mode).
Reimplemented from AFopr< Field >.
Definition at line 211 of file fopr_Wilson_SF.cpp.
multiplies gamma_5 matrix.
Reimplemented from AFopr< Field >.
Definition at line 270 of file fopr_Wilson_SF.cpp.
Definition at line 290 of file fopr_Wilson_SF.cpp.
|
private |
A function to set the fermion field to zero at the t=0 boundary.
|
virtual |
sets the gauge configuration.
Implements AFopr< Field >.
Definition at line 140 of file fopr_Wilson_SF.cpp.
|
virtual |
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call.
Reimplemented from AFopr< Field >.
Definition at line 231 of file fopr_Wilson_SF.cpp.
void Fopr_Wilson_SF::set_parameters | ( | const double | kappa, |
const std::vector< int > | bc | ||
) |
Definition at line 91 of file fopr_Wilson_SF.cpp.
|
virtual |
sets parameters by a Parameter object: to be implemented in a subclass.
Reimplemented from AFopr< Field >.
Definition at line 65 of file fopr_Wilson_SF.cpp.
|
private |
Definition at line 58 of file fopr_Wilson_SF.cpp.
|
static |
Definition at line 54 of file fopr_Wilson_SF.h.
|
private |
Definition at line 61 of file fopr_Wilson_SF.h.
|
private |
Definition at line 66 of file fopr_Wilson_SF.h.
|
private |
Definition at line 60 of file fopr_Wilson_SF.h.
|
private |
Definition at line 64 of file fopr_Wilson_SF.h.
|
private |
Definition at line 59 of file fopr_Wilson_SF.h.
|
private |
Definition at line 59 of file fopr_Wilson_SF.h.
|
private |
Definition at line 59 of file fopr_Wilson_SF.h.
|
private |
Definition at line 59 of file fopr_Wilson_SF.h.
|
private |
Definition at line 59 of file fopr_Wilson_SF.h.
|
private |
Definition at line 62 of file fopr_Wilson_SF.h.
|
private |
Definition at line 67 of file fopr_Wilson_SF.h.
|
private |
Definition at line 57 of file fopr_Wilson_SF.h.
|
private |
Definition at line 69 of file fopr_Wilson_SF.h.
|
private |
Definition at line 69 of file fopr_Wilson_SF.h.