CHROMA
inline_multi_propagator_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Inline construction of multi_propagator -- overlap only
4  *
5  *
6  *
7  * Propagator calculations
8  */
9 
10 #ifndef __inline_multi_propagator_h__
11 #define __inline_multi_propagator_h__
12 
13 #include "chromabase.h"
15 #include "io/qprop_io.h"
16 
17 namespace Chroma
18 {
19  /*! \ingroup inlinehadron */
20  namespace InlineMultiPropagatorEnv
21  {
22  extern const std::string name;
23  bool registerAll();
24  }
25 
26  //! Parameter structure
27  /*! \ingroup inlinehadron */
29  {
31  InlineMultiPropagatorParams(XMLReader& xml_in, const std::string& path);
32  void write(XMLWriter& xml_out, const std::string& path);
33 
34  unsigned long frequency;
35 
38 
40  {
45 
46  std::string xml_file; // Alternate XML file pattern
47  };
48 
49  //! Inline task for multi-mass propagators
50  /*! \ingroup inlinehadron */
52  {
53  public:
57 
58  unsigned long getFrequency(void) const {return params.frequency;}
59 
60  //! Do the measurement
61  void operator()(const unsigned long update_no,
62  XMLWriter& xml_out);
63 
64  protected:
65  //! Do the measurement
66  void func(const unsigned long update_no,
67  XMLWriter& xml_out);
68 
69  private:
71  };
72 
73 }
74 
75 #endif
Abstract inline measurements.
Primary include file for CHROMA library code.
Inline task for multi-mass propagators.
InlineMultiPropagator(const InlineMultiPropagator &p)
InlineMultiPropagatorParams params
unsigned long getFrequency(void) const
Tell me how often I should measure this beastie.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
InlineMultiPropagator(const InlineMultiPropagatorParams &p)
void func(const 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
Routines associated with Chroma propagator IO.
Multi-propagator parameters.
Definition: qprop_io.h:61
struct Chroma::InlineMultiPropagatorParams::NamedObject_t named_obj
void write(XMLWriter &xml_out, const std::string &path)