Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fieldStrength.h
Go to the documentation of this file.
1 
14 #ifndef FIELDSTRENGTH_INCLUDED
15 #define FIELDSTRENGTH_INCLUDED
16 
17 #include "staple_lex.h"
18 
19 #include "Field/shiftField_lex.h"
20 
21 #include "IO/bridgeIO.h"
22 using Bridge::vout;
23 
25 
43 {
44  public:
45  static const std::string class_name;
46 
47  protected:
49 
50  private:
53 
54  public:
56  : m_vl(CommonParameters::Vlevel()) {}
57 
58  virtual ~FieldStrength() {}
59 
60  private:
61  // non-copyable
64 
65  public:
67  void construct_Fmunu_1x1(Field_G& Fmunu,
68  const int mu, const int nu, const Field_G& U);
69 
71  void construct_Fmunu_1x2(Field_G& Fmunu,
72  const int mu, const int nu, const Field_G& U);
73 
76  const int mu, const int nu, const Field_G& U);
77 
80  const int mu, const int nu, const Field_G& U);
81 
84  const int mu, const int nu, const Field_G& U);
85 
87  double contract(const Field_G& Fmunu_1, const Field_G& Fmunu_2);
88 
90  void contract_at_t(std::vector<double>& corr_global,
91  const Field_G& Fmunu_1, const Field_G& Fmunu_2);
92 
94  void contract_at_t(std::vector<double>& corr_global,
95  const Field_G& Fmunu_1, const Field_G& Fmunu_2,
96  const std::vector<int>& momentum_sink,
97  const std::vector<int>& source_position);
98 
100  void contract_at_x(std::vector<double>& corr_global,
101  const Field_G& Fmunu_1, const Field_G& Fmunu_2);
102 
104  void contract_at_x(std::vector<double>& corr_global,
105  const Field_G& Fmunu_1, const Field_G& Fmunu_2,
106  const std::vector<int>& momentum_sink,
107  const std::vector<int>& source_position);
108 
110  void contract_at_y(std::vector<double>& corr_global,
111  const Field_G& Fmunu_1, const Field_G& Fmunu_2);
112 
114  void contract_at_y(std::vector<double>& corr_global,
115  const Field_G& Fmunu_1, const Field_G& Fmunu_2,
116  const std::vector<int>& momentum_sink,
117  const std::vector<int>& source_position);
118 
120  void contract_at_z(std::vector<double>& corr_global,
121  const Field_G& Fmunu_1, const Field_G& Fmunu_2);
122 
124  void contract_at_z(std::vector<double>& corr_global,
125  const Field_G& Fmunu_1, const Field_G& Fmunu_2,
126  const std::vector<int>& momentum_sink,
127  const std::vector<int>& source_position);
128 
130  void global_corr_x(std::vector<double>& corr_global,
131  const std::vector<double>& corr_local);
132 
134  void global_corr_y(std::vector<double>& corr_global,
135  const std::vector<double>& corr_local);
136 
138  void global_corr_z(std::vector<double>& corr_global,
139  const std::vector<double>& corr_local);
140 
142  void global_corr_t(std::vector<double>& corr_global,
143  const std::vector<double>& corr_local);
144 };
145 
146 #endif
void contract_at_y(std::vector< double > &corr_global, const Field_G &Fmunu_1, const Field_G &Fmunu_2)
Calculate corr[y]= . Intended to be used to calculate correlations function of the topological charge...
Staple_lex m_staple
Definition: fieldStrength.h:52
FieldStrength & operator=(const FieldStrength &)
void construct_Fmunu_1x2(Field_G &Fmunu, const int mu, const int nu, const Field_G &U)
Constructs the anti-Hermitian field strength with eight 1x2 rectangular clover leaves.
BridgeIO vout
Definition: bridgeIO.cpp:503
ShiftField_lex m_shift
Definition: fieldStrength.h:51
Bridge::VerboseLevel m_vl
Definition: fieldStrength.h:48
void contract_at_z(std::vector< double > &corr_global, const Field_G &Fmunu_1, const Field_G &Fmunu_2)
Calculate corr[z]= . Intended to be used to calculate correlations function of the topological charge...
virtual ~FieldStrength()
Definition: fieldStrength.h:58
static const std::string class_name
Definition: fieldStrength.h:45
void global_corr_t(std::vector< double > &corr_global, const std::vector< double > &corr_local)
transform node-local correlator in t into global.
void construct_Fmunu_1x1_traceless(Field_G &Fmunu, const int mu, const int nu, const Field_G &U)
Constructs the anti-Hermitian traceless field strength with four 1x1 plquette clover leaves...
Staple construction.
Definition: staple_lex.h:39
SU(N) gauge field.
Definition: field_G.h:38
void contract_at_t(std::vector< double > &corr_global, const Field_G &Fmunu_1, const Field_G &Fmunu_2)
Calculate corr[t]= . Intended to be used to calculate correlations function of the topological charge...
void global_corr_y(std::vector< double > &corr_global, const std::vector< double > &corr_local)
transform node-local correlator in y into global.
void construct_Fmunu_1x1(Field_G &Fmunu, const int mu, const int nu, const Field_G &U)
Constructs the anti-Hermitian field strength with four 1x1 plquette clover leaves.
void construct_Fmunu_plaq_traceless(Field_G &Fmunu, const int mu, const int nu, const Field_G &U)
Constructs the anti-Hermitian traceless field strength with an imaginary part of the plaquette...
Common parameter class: provides parameters as singleton.
VerboseLevel
Definition: bridgeIO.h:42
void global_corr_z(std::vector< double > &corr_global, const std::vector< double > &corr_local)
transform node-local correlator in z into global.
Methods to shift a field in the lexical site index.
void construct_Fmunu_1x2_traceless(Field_G &Fmunu, const int mu, const int nu, const Field_G &U)
Constructs the anti-Hermitian traceless field strength with eight 1x2 rectangular clover leaves...
void global_corr_x(std::vector< double > &corr_global, const std::vector< double > &corr_local)
transform node-local correlator in x into global.
double contract(const Field_G &Fmunu_1, const Field_G &Fmunu_2)
Calculate and returns its value. Intended to be used for the topological charge and energy momentum ...
field strength construction.
Definition: fieldStrength.h:42
void contract_at_x(std::vector< double > &corr_global, const Field_G &Fmunu_1, const Field_G &Fmunu_2)
Calculate corr[x]= . Intended to be used to calculate correlations function of the topological charge...