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
action_G_Plaq_SF.h
Go to the documentation of this file.
1
14
#ifndef ACTION_G_PLAQ_SF_INCLUDED
15
#define ACTION_G_PLAQ_SF_INCLUDED
16
17
#include "
action.h
"
18
#include "
staples_SF.h
"
19
20
#include "
bridgeIO.h
"
21
using
Bridge::vout
;
22
23
//- parameters class
24
class
Parameters_Action_G_Plaq_SF
:
virtual
public
Parameters
25
{
26
public
:
27
Parameters_Action_G_Plaq_SF
();
28
};
29
//- end
30
70
class
Action_G_Plaq_SF
:
public
Action
71
{
72
private
:
73
double
m_beta
;
74
76
double
*
m_phi
;
78
double
*
m_phipr
;
80
double
m_ct
;
81
82
std::string
m_label
;
83
Field
m_force
;
84
85
Field_G
*
m_U
;
86
int
m_status_linkv
;
87
Staples_SF
m_staple
;
88
89
RandomNumbers
*
m_rand
;
90
91
public
:
92
Action_G_Plaq_SF
()
93
:
Action
() {}
94
95
~Action_G_Plaq_SF
() {}
96
97
void
set_parameters
(
const
Parameters
& params);
98
void
set_parameters
(
double
beta,
double
*phi,
double
*phipr,
double
ct);
99
100
void
set_label
(std::string label)
101
{
102
m_label
= label;
103
vout
.
detailed
(
m_vl
,
" label: %s\n"
,
m_label
.c_str());
104
}
105
106
std::string
get_label
()
107
{
108
return
m_label
;
109
}
110
111
void
set_config
(
Field
*U)
112
{
113
m_U
= (
Field_G
*)U;
114
}
115
116
void
notify_linkv
()
117
{
118
m_status_linkv
= 0;
119
}
120
121
double
langevin
(
RandomNumbers
*);
122
123
double
calcH
();
124
125
const
Field
force
();
126
130
void
print_force
(
const
Field_G
*);
131
};
132
#endif
src
Action
action_G_Plaq_SF.h
Generated on Tue Jul 23 2013 10:48:48 for Bridge++ by
1.8.3.1