Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
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  //- NB. m_U has been defined in force_G.h
40  // Field_G *m_U;
41 
42  double m_beta;
44 
45  public:
47 
49 
50  void set_parameters(const Parameters& params);
51  void set_parameters(const double beta);
52 
53  //- NB. set_config has been defined in force_G.h
54  // void set_config(Field *U);
55 
56  void force_core(Field& force);
57 
58 #ifdef USE_FACTORY
59  private:
60  static Force_G *create_object()
61  {
62  return new Force_G_Plaq();
63  }
64 
65  public:
66  static bool register_factory()
67  {
68  return Force_G::Factory::Register("Force_G_Plaq", create_object);
69  }
70 #endif
71 };
72 #endif
void set_parameters(const Parameters &params)
BridgeIO vout
Definition: bridgeIO.cpp:503
Container of Field-type object.
Definition: field.h:45
double m_beta
Definition: force_G_Plaq.h:42
Staple_lex m_staple
Definition: force_G_Plaq.h:43
Class for parameters.
Definition: parameters.h:46
Staple construction.
Definition: staple_lex.h:39
Base class of gauge force calculation.
Definition: force_G.h:31
static const std::string class_name
Definition: force_G_Plaq.h:36
void force_core(Field &force)
HMC force class for plaquette gauge action.
Definition: force_G_Plaq.h:33