Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
staples.h
Go to the documentation of this file.
1 
14 #ifndef STAPLES_INCLUDED
15 #define STAPLES_INCLUDED
16 
17 #include "defs.h"
18 #include "parameters.h"
19 #include "field_G.h"
20 #include "shiftField_lex.h"
21 
22 #include "bridgeIO.h"
23 
25 
33 class Staples
34 {
35  protected:
37 
38  private:
39  int Nc;
40  int Ndim;
41  int Nvol, Lvol;
42 
45 
46  public:
47 
49  : m_vl(CommonParameters::Vlevel()),
54 
56 
57  Field_G upper(const Field_G&, const int, const int);
58  Field_G lower(const Field_G&, const int, const int);
59  double plaq_s(const Field_G&);
60  double plaq_t(const Field_G&);
61  double plaquette(const Field_G&);
62 
63  void staple(Field_G&, const Field_G&, const int);
64 };
65 #endif