CHROMA
inline_polylp.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Inline polyakov loop
4  */
5 
6 
7 #ifndef INLINE_POLYAKOV_LOOP_H
8 #define INLINE_POLYAKOV_LOOP_H
9 
10 #include "chromabase.h"
12 #include "io/xml_group_reader.h"
13 
14 namespace Chroma
15 {
16  /*! \ingroup inlineglue */
17  namespace InlinePolyakovLoopEnv
18  {
19  // Registration
20  bool registerAll();
21 
22  /*! \ingroup inlineglue */
23  struct Params
24  {
25  Params();
26  Params(XMLReader& xml_in, const std::string& path);
27 
28  unsigned long frequency;
29 
30  struct Param_t
31  {
32  GroupXML_t cgs; /*!< Gauge State */
33  } param;
34 
36  {
39  };
40 
41 
42  /*! \ingroup inlineglue */
44  {
45  public:
47  InlineMeas(const Params& p) : params(p) {}
49 
50  unsigned long getFrequency(void) const {return params.frequency;}
51 
52  void operator()(unsigned long update_no,
53  XMLWriter& xml_out);
54 
55  private:
57  };
58 
59  }
60 }
61 
62 #endif
Abstract inline measurements.
Primary include file for CHROMA library code.
unsigned long getFrequency(void) const
Tell me how often I should measure this beastie.
Definition: inline_polylp.h:50
void operator()(unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
Hold group xml and type id.
struct Chroma::InlinePolyakovLoopEnv::Params::Param_t param
struct Chroma::InlinePolyakovLoopEnv::Params::NamedObject_t named_obj
Read an XML group as a std::string.