Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
polyakovLoop.h
Go to the documentation of this file.
1 
14 #ifndef POLYAKOVLOOP_INCLUDED
15 #define POLYAKOVLOOP_INCLUDED
16 
17 #include <cassert>
18 #include "Parameters/parameters.h"
19 #include "Field/field_G.h"
20 #include "Field/shiftField_lex.h"
21 
22 #include "IO/bridgeIO.h"
23 using Bridge::vout;
24 
26 
41 {
42  public:
43  static const std::string class_name;
44 
45  protected:
47 
48  private:
49  std::string m_filename_output;
50 
53  int m_Ntype;
54 
57  int m_Nx_ext;
58  int m_Ny_ext;
59  int m_Nz_ext;
60  int m_Nt_ext;
61  int m_Nvol_ext;
62 
63  typedef std::vector<int> unitvec;
64  std::vector<unitvec> m_Nunit;
65  std::vector<int> m_Nmax;
66 
67  public:
68 
70  : m_vl(CommonParameters::Vlevel()), m_Nspc_size(0), m_Ntype(0)
71  {
72  init();
73  }
74 
75  virtual ~PolyakovLoop() {}
76 
77  private:
78  // non-copyable
79  PolyakovLoop(const PolyakovLoop&);
81 
82  public:
84  virtual void set_parameters(const Parameters& params);
85  void set_parameters(const int Nspc_size, const int Ntype);
86 
88 
90  dcomplex measure_ploop(const Field_G& U);
91 
93  double measure_ploop_corr(const Field_G& U);
94 
95  private:
97  void calc_ploop(Field_G& P, const Field_G& U);
98 
100  void init();
101 };
102 #endif
virtual ~PolyakovLoop()
Definition: polyakovLoop.h:75
BridgeIO vout
Definition: bridgeIO.cpp:503
PolyakovLoop & operator=(const PolyakovLoop &)
virtual void set_parameters(const Parameters &params)
setting parameters: only for Polyakov loop correlators.
Class for parameters.
Definition: parameters.h:46
void calc_ploop(Field_G &P, const Field_G &U)
Polyakov loop measurement.
std::vector< int > m_Nmax
Definition: polyakovLoop.h:65
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Definition: polyakovLoop.h:87
SU(N) gauge field.
Definition: field_G.h:38
int m_Nx_ext
size of extended gauge config.
Definition: polyakovLoop.h:57
Polyakov loop measurement.
Definition: polyakovLoop.h:40
Bridge::VerboseLevel m_vl
Definition: polyakovLoop.h:46
std::vector< int > unitvec
Definition: polyakovLoop.h:63
Common parameter class: provides parameters as singleton.
int m_Nvol_ext
volume of extended gauge config.
Definition: polyakovLoop.h:61
int m_Ntype_max
internal data members
Definition: polyakovLoop.h:56
void init()
initial setup independent of parameters.
std::string m_filename_output
Definition: polyakovLoop.h:49
Bridge::VerboseLevel vl
static const std::string class_name
Definition: polyakovLoop.h:43
VerboseLevel
Definition: bridgeIO.h:42
int m_Nspc_size
parameters set by user
Definition: polyakovLoop.h:52
int m_Nt_ext
size of extended gauge config.
Definition: polyakovLoop.h:60
int m_Ntype
number of measured loop-type
Definition: polyakovLoop.h:53
std::vector< unitvec > m_Nunit
Definition: polyakovLoop.h:64
int m_Ny_ext
size of extended gauge config.
Definition: polyakovLoop.h:58
int m_Nz_ext
size of extended gauge config.
Definition: polyakovLoop.h:59
double measure_ploop_corr(const Field_G &U)
Polyakov loop correlator measurement (not implemented).
dcomplex measure_ploop(const Field_G &U)
Polyakov loop measurement.