Bridge++
Ver. 2.0.2
force_G_Plaq.h
Go to the documentation of this file.
1
14
#ifndef FORCE_G_PLAQ_INCLUDED
15
#define FORCE_G_PLAQ_INCLUDED
16
17
#include "
force_G.h
"
18
19
#include "
Measurements/Gauge/staple_lex.h
"
20
21
#include "
IO/bridgeIO.h
"
22
using
Bridge::vout
;
23
25
33
class
Force_G_Plaq
:
public
Force_G
34
{
35
public
:
36
static
const
std::string
class_name
;
37
38
private
:
39
Bridge::VerboseLevel
m_vl
;
40
41
//- NB. m_U has been defined in force_G.h
42
// Field_G *m_U;
43
44
double
m_beta
;
45
Staple_lex
m_staple
;
46
47
public
:
48
Force_G_Plaq
() :
m_vl
(
CommonParameters
::Vlevel()) {}
49
50
Force_G_Plaq
(
const
Parameters
& params)
51
:
m_vl
(
CommonParameters
::Vlevel())
52
{
53
set_parameters
(params);
54
}
55
56
~Force_G_Plaq
() {}
57
58
void
set_parameters
(
const
Parameters
& params);
59
void
set_parameters
(
const
double
beta);
60
61
void
get_parameters
(
Parameters
& params)
const
;
62
63
//- NB. set_config has been defined in force_G.h
64
// void set_config(Field *U);
65
66
void
force_core
(
Field
& force);
67
68
#ifdef USE_FACTORY
69
private
:
70
static
Force_G
*create_object()
71
{
72
return
new
Force_G_Plaq
();
73
}
74
75
static
Force_G
*create_object_with_params(
const
Parameters
& params)
76
{
77
return
new
Force_G_Plaq
(params);
78
}
79
80
public
:
81
static
bool
register_factory()
82
{
83
bool
init =
true
;
84
init &= Force_G::Factory::Register(
"Force_G_Plaq"
, create_object);
85
init &= Force_G::Factory_params::Register(
"Force_G_Plaq"
, create_object_with_params);
86
return
init;
87
}
88
#endif
89
};
90
#endif
bridgeIO.h
CommonParameters
Common parameter class: provides parameters as singleton.
Definition:
commonParameters.h:42
Force_G_Plaq::force_core
void force_core(Field &force)
Definition:
force_G_Plaq.cpp:73
Parameters
Class for parameters.
Definition:
parameters.h:46
Force_G_Plaq::m_vl
Bridge::VerboseLevel m_vl
Definition:
force_G_Plaq.h:39
Force_G_Plaq::get_parameters
void get_parameters(Parameters ¶ms) const
Definition:
force_G_Plaq.cpp:49
Force_G_Plaq::Force_G_Plaq
Force_G_Plaq()
Definition:
force_G_Plaq.h:48
Force_G
Base class of gauge force calculation.
Definition:
force_G.h:31
staple_lex.h
force_G.h
Force_G_Plaq::m_beta
double m_beta
Definition:
force_G_Plaq.h:44
Force_G_Plaq::Force_G_Plaq
Force_G_Plaq(const Parameters ¶ms)
Definition:
force_G_Plaq.h:50
Force_G_Plaq::m_staple
Staple_lex m_staple
Definition:
force_G_Plaq.h:45
Force_G_Plaq::~Force_G_Plaq
~Force_G_Plaq()
Definition:
force_G_Plaq.h:56
Staple_lex
Staple construction.
Definition:
staple_lex.h:39
Force_G_Plaq
HMC force class for plaquette gauge action.
Definition:
force_G_Plaq.h:33
Field
Container of Field-type object.
Definition:
field.h:46
Force_G_Plaq::class_name
static const std::string class_name
Definition:
force_G_Plaq.h:36
Bridge::VerboseLevel
VerboseLevel
Definition:
bridgeIO.h:42
Force_G_Plaq::set_parameters
void set_parameters(const Parameters ¶ms)
Definition:
force_G_Plaq.cpp:25
Bridge::vout
BridgeIO vout
Definition:
bridgeIO.cpp:512
src
lib
Force
Gauge
force_G_Plaq.h
Generated on Sat Feb 10 2024 14:19:59 for Bridge++ by
1.8.17