Bridge++
Ver. 1.1.x
Main Page
Namespaces
Classes
Files
File List
File Members
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.h
"
19
#include "
field_G.h
"
20
#include "
shiftField_eo.h
"
21
22
#include "
bridgeIO.h
"
23
using
Bridge::vout
;
24
26
39
//- parameters class
40
class
Parameters_PolyakovLoop
:
virtual
public
Parameters
41
{
42
public
:
43
Parameters_PolyakovLoop
();
44
};
45
//- end
46
47
class
PolyakovLoop
48
{
49
protected
:
50
Bridge::VerboseLevel
m_vl
;
51
52
private
:
54
int
m_Nspc_size
;
55
int
m_Ntype
;
56
58
int
m_Ntype_max
;
59
int
m_Nx_ext
;
60
int
m_Ny_ext
;
61
int
m_Nz_ext
;
62
int
m_Nt_ext
;
63
int
m_Nvol_ext
;
64
65
typedef
std::valarray<int>
unitvec
;
66
std::valarray<unitvec>
m_Nunit
;
67
std::valarray<int>
m_Nmax
;
68
69
public
:
70
71
PolyakovLoop
()
72
:
m_vl
(
CommonParameters
::Vlevel()),
m_Nspc_size
(0),
m_Ntype
(0)
73
{
74
init
();
75
}
76
77
virtual
~PolyakovLoop
() {}
78
80
virtual
void
set_parameters
(
const
Parameters
& params);
81
82
void
set_parameters
(
int
Nspc_size,
int
Ntype);
83
84
void
set_parameter_verboselevel
(
const
Bridge::VerboseLevel
vl
) {
m_vl
=
vl
; }
85
87
double
measure_ploop
(
Field_G
& U);
88
90
double
measure_ploop_corr
(
Field_G
& U);
91
92
private
:
93
95
void
calc_ploop
(
Field_G
& P,
Field_G
& U);
96
98
void
init
();
99
};
100
#endif
src
Measurements
Gauge
polyakovLoop.h
Generated on Tue Jul 23 2013 10:48:49 for Bridge++ by
1.8.3.1