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.h
Go to the documentation of this file.
1
14
#ifndef ACTION_G_PLAQ_INCLUDED
15
#define ACTION_G_PLAQ_INCLUDED
16
17
#include "
action.h
"
18
#include "
staples.h
"
19
20
#include "
bridgeIO.h
"
21
using
Bridge::vout
;
22
24
32
//- parameters class
33
class
Parameters_Action_G_Plaq
:
virtual
public
Parameters
34
{
35
public
:
36
Parameters_Action_G_Plaq
();
37
};
38
//- end
39
40
class
Action_G_Plaq
:
public
Action
41
{
42
private
:
43
double
m_beta
;
44
std::string
m_label
;
45
Field
m_force
;
46
47
Field_G
*
m_U
;
48
int
m_status_linkv
;
49
Staples
m_staple
;
50
51
RandomNumbers
*
m_rand
;
52
53
public
:
54
55
Action_G_Plaq
()
56
:
Action
() {}
57
58
~Action_G_Plaq
() {}
59
60
void
set_parameters
(
const
Parameters
& params);
61
void
set_parameters
(
double
beta);
62
63
void
set_label
(std::string label)
64
{
65
m_label
= label;
66
vout
.
detailed
(
m_vl
,
" label: %s\n"
,
m_label
.c_str());
67
}
68
69
std::string
get_label
()
70
{
71
return
m_label
;
72
}
73
74
void
set_config
(
Field
*U)
75
{
76
m_U
= (
Field_G
*)U;
77
}
78
79
void
notify_linkv
()
80
{
81
m_status_linkv
= 0;
82
}
83
84
double
langevin
(
RandomNumbers
*);
85
86
double
calcH
();
87
88
const
Field
force
();
89
};
90
#endif
src
Action
action_G_Plaq.h
Generated on Tue Jul 23 2013 10:48:48 for Bridge++ by
1.8.3.1