Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
energyDensity.h
Go to the documentation of this file.
1 
14 #ifndef ENERGYDENSITY_INCLUDED
15 #define ENERGYDENSITY_INCLUDED
16 
17 #include "fieldStrength.h"
18 
19 #include "IO/bridgeIO.h"
20 using Bridge::vout;
21 
23 
30 {
31  public:
32  static const std::string class_name;
33 
34  protected:
36 
37  private:
38  std::string m_filename_output;
39 
40  double m_c_plaq;
41  double m_c_rect;
42 
45 
46 
47  public:
49  : m_vl(CommonParameters::Vlevel())
50  {
51  m_filename_output = "stdout";
52  }
53 
54  virtual ~EnergyDensity() {}
55 
56  private:
57  // non-copyable
60 
61 
62  public:
63  virtual void set_parameters(const Parameters& params);
64  void set_parameters(const double c_plaq, const double c_rect);
65 
67 
68  double E_plaq(const Field_G& U);
69  double E_clover(const Field_G& U);
70 };
71 #endif
FieldStrength m_field_strength
Definition: energyDensity.h:43
BridgeIO vout
Definition: bridgeIO.cpp:503
std::string m_filename_output
Definition: energyDensity.h:38
double E_plaq(const Field_G &U)
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Definition: energyDensity.h:66
EnergyDensity & operator=(const EnergyDensity &)
double E_clover(const Field_G &U)
Class for parameters.
Definition: parameters.h:46
virtual void set_parameters(const Parameters &params)
Staple construction.
Definition: staple_lex.h:39
SU(N) gauge field.
Definition: field_G.h:38
energy density measurement.
Definition: energyDensity.h:29
Staple_lex m_staple
Definition: energyDensity.h:44
Common parameter class: provides parameters as singleton.
Bridge::VerboseLevel m_vl
Definition: energyDensity.h:35
Bridge::VerboseLevel vl
VerboseLevel
Definition: bridgeIO.h:42
static const std::string class_name
Definition: energyDensity.h:32
field strength construction.
Definition: fieldStrength.h:42
virtual ~EnergyDensity()
Definition: energyDensity.h:54