CHROMA
inline_npr_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Inline construction of Landau gauge propagator
4  *
5  * Landau gauge Propagators for NPR calculations
6  */
7 
8 #ifndef __inline_npr_h__
9 #define __inline_npr_h__
10 
11 #include "chromabase.h"
13 #include "io/qprop_io.h"
14 #include "handle.h"
15 #include "state.h"
16 
17 using namespace QDP;
18 
19 namespace Chroma
20 {
21  /*! \ingroup inlinehadron */
22  namespace InlineNprEnv
23  {
24  extern const std::string name;
25  bool registerAll();
26  }
27 
28  //! Parameter structure
29  /*! \ingroup inlinehadron */
31  {
33  InlineNprParams(XMLReader& xml_in, const std::string& path);
34  void write(XMLWriter& xml_out, const std::string& path);
35 
36  unsigned long frequency;
37 
38  int max_mom2 ; // max p^2
41 
43  {
46  } named_obj;
47 
48  std::string xml_file; // Alternate XML file pattern
49  };
50 
51  //! Inline measurement of Wilson loops
52  /*! \ingroup inlinehadron */
54  {
55  public:
59 
60  unsigned long getFrequency(void) const {return params.frequency;}
61 
62  //! Do the measurement
63  void operator()(const unsigned long update_no,
64  XMLWriter& xml_out);
65 
66  protected:
67  //! Do the measurement
68  void func(const unsigned long update_no,
69  XMLWriter& xml_out);
70 
71  private:
73  };
74 
75 }
76 
77 #endif
Abstract inline measurements.
Primary include file for CHROMA library code.
Inline measurement of Wilson loops.
Definition: inline_npr_w.h:54
InlineNprParams params
Definition: inline_npr_w.h:72
InlineNpr(const InlineNpr &p)
Definition: inline_npr_w.h:58
InlineNpr(const InlineNprParams &p)
Definition: inline_npr_w.h:57
unsigned long getFrequency(void) const
Tell me how often I should measure this beastie.
Definition: inline_npr_w.h:60
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams &param)
Writer parameters.
Class for counted reference semantics.
Params params
bool registerAll()
Register all the factories.
const std::string name
Name to be used.
multi1d< Hadron2PtContraction_t > operator()(const multi1d< LatticeColorMatrix > &u)
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
Routines associated with Chroma propagator IO.
Support class for fermion actions and linear operators.
Parameter structure.
Definition: inline_npr_w.h:31
unsigned long frequency
Definition: inline_npr_w.h:36
func
Definition: t_preccfz.cc:17