Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
32 {
33  public:
34  static const std::string class_name;
35 
36  public:
38 
40 
41  void set_parameters(const Parameters& params);
42  void set_parameters(const int Niter, const int Nnaive,
43  const int Nmeas, const int Nreset,
44  const double Enorm, const double wp);
45 
46  void fix(Field_G& Ufix, const Field_G& Uorg);
47 
48 #ifdef USE_FACTORY
49  private:
50  static GaugeFixing *create_object()
51  {
52  return new GaugeFixing_None();
53  }
54 
55  public:
56  static bool register_factory()
57  {
58  return GaugeFixing::Factory::Register("None", create_object);
59  }
60 #endif
61 };
62 #endif
BridgeIO vout
Definition: bridgeIO.cpp:503
void fix(Field_G &Ufix, const Field_G &Uorg)
None for gauge fixing.
Class for parameters.
Definition: parameters.h:46
void set_parameters(const Parameters &params)
SU(N) gauge field.
Definition: field_G.h:38
static const std::string class_name
gauge fixing.
Definition: gaugeFixing.h:36