Bridge++  Version 1.4.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gaugeFixing_None.cpp
Go to the documentation of this file.
1 
14 #include "gaugeFixing_None.h"
15 
16 #ifdef USE_FACTORY
17 namespace {
18  GaugeFixing *create_object()
19  {
20  return new GaugeFixing_None();
21  }
22 
23  bool init = GaugeFixing::Factory::Register("None", create_object);
24 }
25 #endif
26 
27 const std::string GaugeFixing_None::class_name = "GaugeFixing_None";
28 
29 //====================================================================
31 {
32  //- No parameters are set.
33 }
34 
35 
36 //====================================================================
37 void GaugeFixing_None::set_parameters(const int Niter, const int Nnaive,
38  const int Nmeas, const int Nreset,
39  const double Enorm, const double wp)
40 {
41  //- No parameters are set.
42 }
43 
44 
45 //====================================================================
46 void GaugeFixing_None::fix(Field_G& Ufix, const Field_G& Uorg)
47 {
48  copy(Ufix, Uorg); // do nothing for gauge fixing, just copy input.
49 }
50 
51 
52 //====================================================================
53 //============================================================END=====
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)
void copy(Field &y, const Field &x)
copy(y, x): y = x
Definition: field.cpp:381
SU(N) gauge field.
Definition: field_G.h:38
static const std::string class_name
gauge fixing.
Definition: gaugeFixing.h:36