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_F_Standard_SF.h
Go to the documentation of this file.
1
14
#ifndef ACTION_FSTANDARD_SF_INCLUDED
15
#define ACTION_FSTANDARD_SF_INCLUDED
16
17
#include "
action.h
"
18
#include "
solver.h
"
19
20
#include "
field_G_SF.h
"
21
#include "
field_F_SF.h
"
22
23
#include "
bridgeIO.h
"
24
using
Bridge::vout
;
25
27
50
class
Action_F_Standard_SF
:
public
Action
51
{
52
private
:
53
Fopr
*
m_fopr
;
54
Force
*
m_fopr_force
;
55
Field
m_psf
;
56
std::string
m_label
;
57
Field
m_force
;
58
59
Solver
*
m_solver
;
60
61
Field
*
m_U
;
62
int
m_status_linkv
;
63
64
RandomNumbers
*
m_rand
;
65
67
Communicator
*
comm
;
69
int
Svol
;
71
int
m_Nc2
;
73
int
m_Nd
;
74
75
// A function to set the pseudo fermion field to zero at the t=0 boundary.
76
// void set_boundary_zero(Field&);
77
78
public
:
79
80
Action_F_Standard_SF
(
Fopr
*fopr,
Force
*fopr_force)
81
:
Action
(),
m_fopr
(fopr),
m_fopr_force
(fopr_force)
82
{
83
set_parameters
();
84
}
85
86
~Action_F_Standard_SF
()
87
{
88
delete
m_solver
;
89
}
90
91
void
set_parameters
(
const
Parameters
&);
92
void
set_parameters
();
93
94
void
set_label
(std::string label)
95
{
96
m_label
= label;
97
vout
.
detailed
(
m_vl
,
" label: %s\n"
,
m_label
.c_str());
98
}
99
100
std::string
get_label
()
101
{
102
return
m_label
;
103
}
104
105
void
set_config
(
Field
*U)
106
{
107
m_U
= U;
108
m_fopr
->
set_config
(U);
109
m_fopr_force
->
set_config
(U);
110
}
111
112
void
notify_linkv
()
113
{
114
m_status_linkv
= 0;
115
}
116
117
double
langevin
(
RandomNumbers
*);
118
119
double
calcH
();
120
121
const
Field
force
();
122
};
123
#endif
src
Action
action_F_Standard_SF.h
Generated on Tue Jul 23 2013 10:48:48 for Bridge++ by
1.8.3.1