Bridge++
Version 1.5.4
|
Clover fermion operator. More...
#include <fopr_Clover_SF.h>
Public Member Functions | |
Fopr_Clover_SF () | |
~Fopr_Clover_SF () | |
void | set_parameters (const Parameters ¶ms) |
void | set_parameters (const double kappa, const double cSW, const std::vector< int > bc, double *phi, double *phipr) |
void | set_config (Field *U) |
setting pointer to the gauge configuration. More... | |
void | set_config (unique_ptr< Field_G > &U) |
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 |
only for Fopr_Overlap More... | |
void | mult (Field &v, const Field &f) |
multiplies fermion operator to a given field (2nd argument) More... | |
void | mult_dag (Field &v, const Field &f) |
hermitian conjugate of mult(Field&, const Field&). More... | |
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) |
gamma_5 multiplication. [31 Mar 2017 H.Matsufuru] More... | |
void | mult_isigma (Field_F &, const Field_F &, const int mu, const int nu) |
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... | |
double | flop_count () |
this returns the number of floating point number operations. More... | |
Public Member Functions inherited from Fopr | |
Fopr () | |
virtual | ~Fopr () |
void | set_parameter_verboselevel (const Bridge::VerboseLevel vl) |
virtual void | mult (Field &, const Field &, const std::string mode) |
execute mult with specified mode (unchanging internal mode). [23 May 2016 H.Matsufuru]. More... | |
virtual void | mult_dag (Field &, const Field &, const std::string mode) |
execute mult_dag with specified mode (unchanging internal mode). [23 May 2016 H.Matsufuru]. More... | |
virtual void | mult_up (const int mu, Field &, const Field &) |
nearest neighbor hopping term: temporary entry [H.Matsufuru] More... | |
virtual void | mult_dn (const int mu, Field &, const Field &) |
virtual double | flop_count (const std::string mode) |
returns the flop in giga unit for a specified mode. [23 May 2016 H.Matsufuru] More... | |
Static Public Attributes | |
static const std::string | class_name = "Fopr_Clover_SF" |
Private Member Functions | |
void | init (const std::string repr) |
void | tidyup () |
void | set_csw () |
void | mult_csw (Field_F &, const Field_F &) |
void | set_fieldstrength (Field_G &, const int, const int) |
void | mult_csw_dirac (Field_F &, const Field_F &) |
void | mult_csw_chiral (Field_F &, const Field_F &) |
int | sg_index (const int mu, const int nu) |
Private Attributes | |
int | m_Nvol |
int | m_Ndim |
int | m_Nc |
int | m_Nd |
int | m_NinF |
double | m_kappa |
double | m_cSW |
std::vector< int > | m_boundary |
std::string | m_repr |
std::string | m_mode |
void(Fopr_Clover_SF::* | m_csw )(Field_F &, const Field_F &) |
Fopr_Wilson_SF * | m_fopr_w |
const Field_G * | m_U |
ShiftField_lex | m_shift |
Field_G | m_Bx |
Field_G | m_By |
Field_G | m_Bz |
Field_G | m_Ex |
Field_G | m_Ey |
Field_G | m_Ez |
std::vector< GammaMatrix > | m_GM |
std::vector< GammaMatrix > | m_SG |
double | m_phi [3] |
SF boundary condition at t=0. More... | |
double | m_phipr [3] |
SF boundary condition at t=Nt. More... | |
Field_F_SF | setzero |
In order to set the boundary field to zero. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Fopr | |
Bridge::VerboseLevel | m_vl |
Clover fermion operator.
This class implements the clover (improved Wilson) fermion operator with 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]
Definition at line 43 of file fopr_Clover_SF.h.
|
inline |
Definition at line 77 of file fopr_Clover_SF.h.
|
inline |
Definition at line 82 of file fopr_Clover_SF.h.
Definition at line 218 of file fopr_Clover_SF.cpp.
Definition at line 195 of file fopr_Clover_SF.cpp.
Definition at line 182 of file fopr_Clover_SF.cpp.
|
inlinevirtual |
returns the external d.o.f. for which the fermion operator is defined.
Implements Fopr.
Definition at line 164 of file fopr_Clover_SF.h.
|
inlinevirtual |
returns the on-site d.o.f. for which the fermion operator is defined.
Implements Fopr.
Definition at line 163 of file fopr_Clover_SF.h.
|
inlinevirtual |
returns the volume for which the fermion operator is defined.
Implements Fopr.
Definition at line 162 of file fopr_Clover_SF.h.
|
virtual |
this returns the number of floating point number operations.
Reimplemented from Fopr.
Definition at line 531 of file fopr_Clover_SF.cpp.
|
inlinevirtual |
Definition at line 207 of file fopr_Clover_SF.cpp.
|
private |
Definition at line 117 of file fopr_Clover_SF.cpp.
multiplies fermion operator to a given field (2nd argument)
Implements Fopr.
Definition at line 117 of file fopr_Clover_SF.h.
Definition at line 251 of file fopr_Clover_SF.cpp.
Definition at line 258 of file fopr_Clover_SF.cpp.
Definition at line 367 of file fopr_Clover_SF.cpp.
hermitian conjugate of mult(Field&, const Field&).
Reimplemented from Fopr.
Definition at line 133 of file fopr_Clover_SF.h.
gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]
Reimplemented from Fopr.
Definition at line 154 of file fopr_Clover_SF.h.
Definition at line 241 of file fopr_Clover_SF.cpp.
|
inlinevirtual |
setting pointer to the gauge configuration.
Implements Fopr.
Definition at line 91 of file fopr_Clover_SF.h.
|
inlinevirtual |
Implements Fopr.
Definition at line 99 of file fopr_Clover_SF.h.
|
private |
Definition at line 476 of file fopr_Clover_SF.cpp.
|
private |
The field strength defined by clover with the SF BC.
Definition at line 495 of file fopr_Clover_SF.cpp.
|
inlinevirtual |
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call.
Reimplemented from Fopr.
Definition at line 107 of file fopr_Clover_SF.h.
|
virtual |
Implements Fopr.
Definition at line 25 of file fopr_Clover_SF.cpp.
void Fopr_Clover_SF::set_parameters | ( | const double | kappa, |
const double | cSW, | ||
const std::vector< int > | bc, | ||
double * | phi, | ||
double * | phipr | ||
) |
Definition at line 59 of file fopr_Clover_SF.cpp.
|
inlineprivate |
Definition at line 180 of file fopr_Clover_SF.h.
|
private |
Definition at line 175 of file fopr_Clover_SF.cpp.
|
static |
Definition at line 46 of file fopr_Clover_SF.h.
|
private |
Definition at line 51 of file fopr_Clover_SF.h.
|
private |
Definition at line 62 of file fopr_Clover_SF.h.
|
private |
Definition at line 62 of file fopr_Clover_SF.h.
|
private |
Definition at line 62 of file fopr_Clover_SF.h.
|
private |
Definition at line 50 of file fopr_Clover_SF.h.
Definition at line 55 of file fopr_Clover_SF.h.
|
private |
Definition at line 62 of file fopr_Clover_SF.h.
|
private |
Definition at line 62 of file fopr_Clover_SF.h.
|
private |
Definition at line 62 of file fopr_Clover_SF.h.
|
private |
Definition at line 58 of file fopr_Clover_SF.h.
|
private |
Definition at line 66 of file fopr_Clover_SF.h.
|
private |
Definition at line 50 of file fopr_Clover_SF.h.
|
private |
Definition at line 53 of file fopr_Clover_SF.h.
|
private |
Definition at line 49 of file fopr_Clover_SF.h.
|
private |
Definition at line 49 of file fopr_Clover_SF.h.
|
private |
Definition at line 49 of file fopr_Clover_SF.h.
|
private |
Definition at line 49 of file fopr_Clover_SF.h.
|
private |
Definition at line 49 of file fopr_Clover_SF.h.
|
private |
SF boundary condition at t=0.
Definition at line 69 of file fopr_Clover_SF.h.
|
private |
SF boundary condition at t=Nt.
Definition at line 71 of file fopr_Clover_SF.h.
|
private |
Definition at line 52 of file fopr_Clover_SF.h.
|
private |
Definition at line 66 of file fopr_Clover_SF.h.
|
private |
Definition at line 60 of file fopr_Clover_SF.h.
|
private |
Definition at line 59 of file fopr_Clover_SF.h.
|
private |
In order to set the boundary field to zero.
Definition at line 74 of file fopr_Clover_SF.h.