Bridge++  Ver. 2.0.2
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 
42 {
43  public:
44  static const std::string class_name;
45 
46  protected:
48 
49  private:
50  std::string m_filename_output;
51 
54  int m_Ntype;
55 
58 
60  // int m_Ntype_max; //!< maximum size of loop-type
61  // int m_Nx_ext; //!< size of extended gauge config.
62  // int m_Ny_ext; //!< size of extended gauge config.
63  // int m_Nz_ext; //!< size of extended gauge config.
64  // int m_Nt_ext; //!< size of extended gauge config.
65  // int m_Nvol_ext; //!< volume of extended gauge config.
66  //
67  // typedef std::vector<int> unitvec;
68  // std::vector<unitvec> m_Nunit;
69  // std::vector<int> m_Nmax;
70 
71  public:
73  : m_vl(CommonParameters::Vlevel()), m_Nspc_size(0), m_Ntype(0)
74  {
75  init();
76  }
77 
78  PolyakovLoop(const Parameters& params)
79  : m_vl(CommonParameters::Vlevel()), m_Nspc_size(0), m_Ntype(0)
80  {
81  init();
82  set_parameters(params);
83  }
84 
85  virtual ~PolyakovLoop() {}
86 
87  private:
88  // non-copyable
89  PolyakovLoop(const PolyakovLoop&);
91 
92  public:
94  virtual void set_parameters(const Parameters& params);
95  void set_parameters(const int Nspc_size, const int Ntype);
96 
98 
99  virtual void get_parameters(Parameters& params) const;
100 
102  dcomplex measure_ploop(const Field_G& U);
103 
105  void calc_ploop(dcomplex& ploop, const Field_G& U);
106 
108  // double measure_ploop_corr(const Field_G& U);
109 
110  private:
111 
113  void init();
114 };
115 #endif
PolyakovLoop::PolyakovLoop
PolyakovLoop(const Parameters &params)
Definition: polyakovLoop.h:78
bridgeIO.h
field_G.h
CommonParameters
Common parameter class: provides parameters as singleton.
Definition: commonParameters.h:42
Parameters
Class for parameters.
Definition: parameters.h:46
PolyakovLoop::m_filename_output
std::string m_filename_output
Definition: polyakovLoop.h:50
PolyakovLoop::class_name
static const std::string class_name
Definition: polyakovLoop.h:44
PolyakovLoop::m_Ut
Field_G m_Ut
Definition: polyakovLoop.h:57
shiftField_lex.h
PolyakovLoop::m_Nspc_size
int m_Nspc_size
parameters set by user
Definition: polyakovLoop.h:53
PolyakovLoop::get_parameters
virtual void get_parameters(Parameters &params) const
Definition: polyakovLoop.cpp:54
PolyakovLoop::m_vl
Bridge::VerboseLevel m_vl
Definition: polyakovLoop.h:47
PolyakovLoop::m_Ntype
int m_Ntype
number of measured loop-type
Definition: polyakovLoop.h:54
PolyakovLoop::calc_ploop
void calc_ploop(dcomplex &ploop, const Field_G &U)
Polyakov loop measurement (multi-threaded).
Definition: polyakovLoop.cpp:208
PolyakovLoop::operator=
PolyakovLoop & operator=(const PolyakovLoop &)
PolyakovLoop::measure_ploop
dcomplex measure_ploop(const Field_G &U)
Polyakov loop measurement.
Definition: polyakovLoop.cpp:172
ParameterCheck::vl
Bridge::VerboseLevel vl
Definition: parameterCheck.cpp:18
PolyakovLoop::~PolyakovLoop
virtual ~PolyakovLoop()
Definition: polyakovLoop.h:85
PolyakovLoop::m_Pcp2
Field_G m_Pcp2
Definition: polyakovLoop.h:57
PolyakovLoop::set_parameters
virtual void set_parameters(const Parameters &params)
setting parameters: only for Polyakov loop correlators.
Definition: polyakovLoop.cpp:21
parameters.h
PolyakovLoop
Polyakov loop measurement.
Definition: polyakovLoop.h:41
PolyakovLoop::PolyakovLoop
PolyakovLoop()
internal data members (to be implemented).
Definition: polyakovLoop.h:72
PolyakovLoop::m_Pcp1
Field_G m_Pcp1
Definition: polyakovLoop.h:57
PolyakovLoop::m_P
Field_G m_P
working area
Definition: polyakovLoop.h:57
PolyakovLoop::init
void init()
Polyakov loop correlator measurement (to be implemented).
Definition: polyakovLoop.cpp:112
Bridge::VerboseLevel
VerboseLevel
Definition: bridgeIO.h:42
Field_G
SU(N) gauge field.
Definition: field_G.h:38
PolyakovLoop::set_parameter_verboselevel
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Definition: polyakovLoop.h:97
Bridge::vout
BridgeIO vout
Definition: bridgeIO.cpp:512