CHROMA
inline_qprop_matmul_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Inline construction of QpropMatMul
4  *
5  * QpropMatMul calculations
6  */
7 
8 #ifndef __inline_qprop_matmul_w_h__
9 #define __inline_qprop_matmul_w_h__
10 
11 #include "chromabase.h"
13 #include "io/qprop_io.h"
14 
15 namespace Chroma
16 {
17  /*! \ingroup inlinehadron */
18  namespace InlineQpropMatMulEnv
19  {
20  extern const std::string name;
21  bool registerAll();
22  }
23 
24  //! Parameter structure
25  /*! \ingroup inlinehadron */
27  {
29  InlineQpropMatMulParams(XMLReader& xml_in, const std::string& path);
30  void writeXML(XMLWriter& xml_out, const std::string& path);
31 
32  unsigned long frequency;
33 
34 
36 
38  {
44 
45  std::string xml_file; // Alternate XML file pattern
46  };
47 
48  //! Inline QpropMatMul calculation
49  /*! \ingroup inlinehadron */
51  {
52  public:
56 
57  unsigned long getFrequency(void) const {return params.frequency;}
58 
59  //! Do the measurement
60  void operator()(const unsigned long update_no,
61  XMLWriter& xml_out);
62 
63  protected:
64  //! Do the measurement
65  void func(const unsigned long update_no,
66  XMLWriter& xml_out);
67 
68  private:
70  };
71 
72 }
73 
74 #endif
Abstract inline measurements.
Primary include file for CHROMA library code.
Inline QpropMatMul calculation.
unsigned long getFrequency(void) const
Tell me how often I should measure this beastie.
void func(const unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
InlineQpropMatMul(const InlineQpropMatMul &p)
InlineQpropMatMul(const InlineQpropMatMulParams &p)
InlineQpropMatMulParams params
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.
Hold group xml and type id.
struct Chroma::InlineQpropMatMulParams::NamedObject_t named_obj
void writeXML(XMLWriter &xml_out, const std::string &path)