CHROMA
inline_sink_smear_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Inline sink_smear propagators
4  *
5  * Sink smear propagators
6  */
7 
8 #ifndef __inline_sink_smear_w_h__
9 #define __inline_sink_smear_w_h__
10 
11 #include "chromabase.h"
13 #include "io/qprop_io.h"
14 
15 namespace Chroma
16 {
17  /*! \ingroup inlinehadron */
18  namespace InlineSinkSmearEnv
19  {
20  extern const std::string name;
21  bool registerAll();
22 
23  //! Parameter structure
24  /*! \ingroup inlinehadron */
25  struct Params
26  {
27  Params();
28  Params(XMLReader& xml_in, const std::string& path);
29  void writeXML(XMLWriter& xml_out, const std::string& path);
30 
31  unsigned long frequency;
32 
34 
36  {
41  };
42 
43 
44  //! Inline task for sinking smearing propagators
45  /*! \ingroup inlinehadron */
47  {
48  public:
50  InlineMeas(const Params& p) : params(p) {}
52 
53  unsigned long getFrequency(void) const {return params.frequency;}
54 
55  //! Do the measurement
56  void operator()(const unsigned long update_no,
57  XMLWriter& xml_out);
58 
59  private:
61  };
62 
63  }
64 
65 }
66 
67 #endif
Abstract inline measurements.
Primary include file for CHROMA library code.
Inline task for sinking smearing propagators.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
unsigned long getFrequency(void) const
Tell me how often I should measure this beastie.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
Routines associated with Chroma propagator IO.
struct Chroma::InlineSinkSmearEnv::Params::NamedObject_t named_obj
void writeXML(XMLWriter &xml_out, const std::string &path)
Sink-smearing parameters.
Definition: qprop_io.h:51