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_Rectangle_SF.h
Go to the documentation of this file.
1
15
#ifndef ACTION_G_RECTANGLE_SF_INCLUDED
16
#define ACTION_G_RECTANGLE_SF_INCLUDED
17
18
#include "
action.h
"
19
#include "
staples_SF.h
"
20
#include "
shiftField_lex.h
"
21
22
#include "
bridgeIO.h
"
23
using
Bridge::vout
;
24
26
103
//- parameters class
104
class
Parameters_Action_G_Rectangle_SF
:
virtual
public
Parameters
105
{
106
public
:
107
Parameters_Action_G_Rectangle_SF
();
108
};
109
//- end
110
111
class
Action_G_Rectangle_SF
:
public
Action
112
{
113
private
:
114
int
Nc
;
115
116
double
m_beta
;
117
double
m_c_plaq
;
118
double
m_c_rect
;
119
120
std::string
m_label
;
121
Field
m_force
;
122
123
Field_G
*
m_U
;
124
int
m_status_linkv
;
125
Staples_SF
m_staple
;
126
ShiftField_lex
m_shift
;
127
128
RandomNumbers
*
m_rand
;
129
131
Mat_SU_N
wk
,
wkpr
;
132
// double *m_phi;
133
// double *m_phipr;
135
double
m_ct
;
137
double
m_ctr
;
138
139
public
:
140
Action_G_Rectangle_SF
()
141
:
Action
(),
Nc
(
CommonParameters
::
Nc
()),
wk
(
Nc
),
wkpr
(
Nc
)
142
{
143
}
144
145
~Action_G_Rectangle_SF
() {}
146
147
void
set_parameters
(
const
Parameters
& params);
148
149
void
set_parameters
(
double
beta,
double
c_plaq,
double
c_rect,
150
double
*phi,
double
*phipr,
double
ct,
double
ctr);
151
152
void
set_label
(std::string label)
153
{
154
m_label
= label;
155
vout
.
detailed
(
m_vl
,
" label: %s\n"
,
m_label
.c_str());
156
}
157
158
std::string
get_label
()
159
{
160
return
m_label
;
161
}
162
163
void
set_config
(
Field
*U)
164
{
165
m_U
= (
Field_G
*)U;
166
}
167
168
void
notify_linkv
()
169
{
170
m_status_linkv
= 0;
171
}
172
173
double
langevin
(
RandomNumbers
*);
174
175
double
calcH
();
176
177
// double calcH_slow();
178
179
const
Field
force
();
180
181
// const Field force_slow();
182
};
183
#endif
src
Action
action_G_Rectangle_SF.h
Generated on Tue Jul 23 2013 10:48:48 for Bridge++ by
1.8.3.1