Bridge++  Ver. 2.0.2
gaugeFixing_None.cpp
Go to the documentation of this file.
1 
14 #include "gaugeFixing_None.h"
15 
16 #ifdef USE_FACTORY_AUTOREGISTER
17 namespace {
18  bool init = GaugeFixing_None::register_factory();
19 }
20 #endif
21 
22 const std::string GaugeFixing_None::class_name = "GaugeFixing_None";
23 
24 //====================================================================
26 {
27  //- No parameters are set.
28 }
29 
30 
31 //====================================================================
33 {
34  //- No other parameters to get
35 
36  params.set_string("verbose_level", vout.get_verbose_level(m_vl));
37 }
38 
39 
40 //====================================================================
41 void GaugeFixing_None::set_parameters(const int Niter, const int Nnaive,
42  const int Nmeas, const int Nreset,
43  const double Enorm, const double wp)
44 {
45  //- No parameters are set.
46 }
47 
48 
49 //====================================================================
50 void GaugeFixing_None::fix(Field_G& Ufix, const Field_G& Uorg)
51 {
52  copy(Ufix, Uorg); // do nothing for gauge fixing, just copy input.
53 }
54 
55 
56 //====================================================================
57 //============================================================END=====
Parameters::set_string
void set_string(const string &key, const string &value)
Definition: parameters.cpp:39
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 &params) const
Definition: gaugeFixing_None.cpp:32
GaugeFixing_None::set_parameters
void set_parameters(const Parameters &params)
Definition: gaugeFixing_None.cpp:25
copy
void copy(Field &y, const Field &x)
copy(y, x): y = x
Definition: field.cpp:212
gaugeFixing_None.h
GaugeFixing_None::m_vl
Bridge::VerboseLevel m_vl
Definition: gaugeFixing_None.h:57
GaugeFixing_None::class_name
static const std::string class_name
Definition: gaugeFixing_None.h:34
Field_G
SU(N) gauge field.
Definition: field_G.h:38
Bridge::vout
BridgeIO vout
Definition: bridgeIO.cpp:512
Bridge::BridgeIO::get_verbose_level
static std::string get_verbose_level(const VerboseLevel vl)
Definition: bridgeIO.cpp:154