Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
staple_SF.h
Go to the documentation of this file.
1 
14 #ifndef STAPLE_SF_INCLUDED
15 #define STAPLE_SF_INCLUDED
16 
17 #include "Field/field_G_SF.h"
18 #include "Field/shiftField_lex.h"
19 
20 #include "IO/bridgeIO.h"
21 using Bridge::vout;
22 
24 
36 class Staple_SF
37 {
38  public:
39  static const std::string class_name;
40 
41  protected:
43 
44  private:
47 
50 
51  public:
53  : m_vl(CommonParameters::Vlevel()),
54  m_wk(CommonParameters::Nc()),
55  m_wkpr(CommonParameters::Nc()),
57  m_initialized(0) {}
58 
59  private:
60  // non-copyable
61  Staple_SF(const Staple_SF&);
62  Staple_SF& operator=(const Staple_SF&);
63 
64  public:
65  void set_parameters(const Parameters& params);
66 
67  void set_parameters(const double *phi, const double *phipr);
68  void set_parameters(const double *phi, const double *phipr, const double *pomega);
69  void set_parameters(const std::vector<double>& phi, const std::vector<double>& phipr, const std::vector<double>& p_omega);
70 
72 
73  void upper(Field_G_SF&, const Field_G&, const int, const int);
74  void lower(Field_G_SF&, const Field_G&, const int, const int);
75  double plaq_s(const Field_G&);
76  double plaq_t(const Field_G&);
77  double plaq_t_ct(const Field_G&, const double ct);
78  double plaquette(const Field_G&);
79  double plaquette_ct(const Field_G&, const double ct);
80 
81  double sf_coupling_plaq(const Field_G&, const double ct);
82  double sf_coupling_rect(const Field_G&, const double ctr);
83 
84  void staple(Field_G&, const Field_G&, const int);
85  void staple_ct(Field_G&, const Field_G&, const int, const double ct);
86 
87  void print_plaquette(const Field_G&);
88 };
89 #endif
SU(N) gauge field class in which a few functions are added for the SF.
Definition: field_G_SF.h:33
double sf_coupling_rect(const Field_G &, const double ctr)
Definition: staple_SF.cpp:407
Mat_SU_N m_wkpr
Definition: staple_SF.h:48
static const std::string class_name
Definition: staple_SF.h:39
BridgeIO vout
Definition: bridgeIO.cpp:503
void print_plaquette(const Field_G &)
Definition: staple_SF.cpp:974
Mat_SU_N m_wk
Definition: staple_SF.h:48
double plaquette_ct(const Field_G &, const double ct)
Definition: staple_SF.cpp:641
Bridge::VerboseLevel m_vl
Definition: staple_SF.h:42
int m_initialized
Definition: staple_SF.h:49
Staple construction.
Definition: staple_SF.h:36
Index_lex m_index
Definition: staple_SF.h:45
Class for parameters.
Definition: parameters.h:46
double plaq_t_ct(const Field_G &, const double ct)
Definition: staple_SF.cpp:742
double plaq_s(const Field_G &)
Definition: staple_SF.cpp:661
Staple_SF & operator=(const Staple_SF &)
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Definition: staple_SF.h:71
void set_parameters(const Parameters &params)
Definition: staple_SF.cpp:35
void upper(Field_G_SF &, const Field_G &, const int, const int)
Definition: staple_SF.cpp:886
SU(N) gauge field.
Definition: field_G.h:38
Staple_SF()
Definition: staple_SF.h:52
Common parameter class: provides parameters as singleton.
Lexical site index.
Definition: index_lex.h:34
ShiftField_lex m_shift
Definition: staple_SF.h:46
Mat_SU_N m_i_omega0
Definition: staple_SF.h:48
double plaq_t(const Field_G &)
Definition: staple_SF.cpp:699
void staple(Field_G &, const Field_G &, const int)
Definition: staple_SF.cpp:797
Bridge::VerboseLevel vl
double sf_coupling_plaq(const Field_G &, const double ct)
Definition: staple_SF.cpp:222
VerboseLevel
Definition: bridgeIO.h:42
Methods to shift a field in the lexical site index.
void staple_ct(Field_G &, const Field_G &, const int, const double ct)
Definition: staple_SF.cpp:842
void lower(Field_G_SF &, const Field_G &, const int, const int)
Definition: staple_SF.cpp:921
double plaquette(const Field_G &)
Definition: staple_SF.cpp:615