Bridge++
Ver. 2.0.2
gaugeFixing_None.h
Go to the documentation of this file.
1
14
#ifndef GAUGEFIXING_NONE_INCLUDED
15
#define GAUGEFIXING_NONE_INCLUDED
16
17
#include "
gaugeFixing.h
"
18
19
#include "
IO/bridgeIO.h
"
20
using
Bridge::vout
;
21
22
24
25
/*
26
This class deals with no gauge fixing to manage spectroscopy
27
w/o gauge fixing in a single code, proposed by Aoyama-san.
28
[30 Jun 2016 Y.Namekawa]
29
*/
30
31
class
GaugeFixing_None
:
public
GaugeFixing
32
{
33
public
:
34
static
const
std::string
class_name
;
35
36
public
:
37
GaugeFixing_None
() :
m_vl
(
CommonParameters
::Vlevel()) {}
38
39
GaugeFixing_None
(
const
Parameters
& params)
40
:
m_vl
(
CommonParameters
::Vlevel())
41
{
42
set_parameters
(params);
43
}
44
45
~GaugeFixing_None
() {}
46
47
void
set_parameters
(
const
Parameters
& params);
48
void
set_parameters
(
const
int
Niter,
const
int
Nnaive,
49
const
int
Nmeas,
const
int
Nreset,
50
const
double
Enorm,
const
double
wp);
51
52
void
get_parameters
(
Parameters
& params)
const
;
53
54
void
fix
(
Field_G
& Ufix,
const
Field_G
& Uorg);
55
56
private
:
57
Bridge::VerboseLevel
m_vl
;
58
59
60
#ifdef USE_FACTORY
61
private
:
62
static
GaugeFixing
*create_object()
63
{
64
return
new
GaugeFixing_None
();
65
}
66
67
static
GaugeFixing
*create_object_with_params(
const
Parameters
& params)
68
{
69
return
new
GaugeFixing_None
(params);
70
}
71
72
public
:
73
static
bool
register_factory()
74
{
75
bool
init =
true
;
76
init &= GaugeFixing::Factory::Register(
"None"
, create_object);
77
init &= GaugeFixing::Factory_params::Register(
"None"
, create_object_with_params);
78
return
init;
79
}
80
#endif
81
};
82
#endif
bridgeIO.h
GaugeFixing_None::GaugeFixing_None
GaugeFixing_None(const Parameters ¶ms)
Definition:
gaugeFixing_None.h:39
CommonParameters
Common parameter class: provides parameters as singleton.
Definition:
commonParameters.h:42
GaugeFixing_None::fix
void fix(Field_G &Ufix, const Field_G &Uorg)
Definition:
gaugeFixing_None.cpp:50
Parameters
Class for parameters.
Definition:
parameters.h:46
GaugeFixing_None::get_parameters
void get_parameters(Parameters ¶ms) const
Definition:
gaugeFixing_None.cpp:32
GaugeFixing_None::set_parameters
void set_parameters(const Parameters ¶ms)
Definition:
gaugeFixing_None.cpp:25
GaugeFixing
gauge fixing.
Definition:
gaugeFixing.h:36
GaugeFixing_None::GaugeFixing_None
GaugeFixing_None()
Definition:
gaugeFixing_None.h:37
GaugeFixing_None::~GaugeFixing_None
~GaugeFixing_None()
Definition:
gaugeFixing_None.h:45
GaugeFixing_None::m_vl
Bridge::VerboseLevel m_vl
Definition:
gaugeFixing_None.h:57
GaugeFixing_None
None for gauge fixing.
Definition:
gaugeFixing_None.h:31
GaugeFixing_None::class_name
static const std::string class_name
Definition:
gaugeFixing_None.h:34
Bridge::VerboseLevel
VerboseLevel
Definition:
bridgeIO.h:42
Field_G
SU(N) gauge field.
Definition:
field_G.h:38
gaugeFixing.h
Bridge::vout
BridgeIO vout
Definition:
bridgeIO.cpp:512
src
lib
Measurements
Gauge
gaugeFixing_None.h
Generated on Sat Feb 10 2024 14:20:00 for Bridge++ by
1.8.17