CHROMA
inline_spectrumQll.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Inline spectrum calculations
4  *
5  * Heavy-light baryon Spectrum calculations (infinitely heavy quark: Qll)
6  */
7 
8 #error "DEPRECATED - TAKEN OUT OF MAKEFILE"
9 
10 
11 #ifndef __inline_spectrumQll_h__
12 #define __inline_spectrumQll_h__
13 
14 #include "chromabase.h"
16 
17 namespace Chroma
18 {
19  /*! \ingroup inlinehadron */
20  namespace InlineSpectrumQllEnv
21  {
22  extern const std::string name;
23  bool registerAll();
24  }
25 
26  //! Parameter structure
27  /*! \ingroup inlinehadron */
29  {
31  InlineSpectrumQllParams(XMLReader& xml_in, const std::string& path);
32  void write(XMLWriter& xml_out, const std::string& path);
33 
34  unsigned long frequency;
35 
36  struct Param_t
37  {
38  bool Pt_snk; // point sink
39  bool Sl_snk; // shell sink
40  bool Wl_snk; // wall sink
41 
42  WvfKind wvf_kind; // Wave function kind: gauge invariant
43  multi1d<Real> wvf_param; // Array of width's or other parameters
44  // for "shell" source/sink wave function
45  multi1d<int> wvfIntPar; // Array of iter numbers to approx. Gaussian or
46  // terminate CG inversion for Wuppertal smearing
47  Real link_smear_fact; // smearing factor
48  int link_smear_num; // number of smearing hits
49 
50  multi1d<int> Qsrc_coord ;
51  } param;
52 
54  {
56  multi1d<std::string> prop_ids;
58 
59  std::string xml_file; // Alternate XML file pattern
60  };
61 
62 
63  //! Inline measurement of static-light-light spectrum
64  /*! \ingroup inlinehadron */
66  {
67  public:
71 
72  unsigned long getFrequency(void) const {return params.frequency;}
73 
74  //! Do the measurement
75  void operator()(const unsigned long update_no,
76  XMLWriter& xml_out);
77 
78  protected:
79  //! Do the measurement
80  void func(const unsigned long update_no,
81  XMLWriter& xml_out);
82 
83  private:
85  };
86 
87 };
88 
89 #endif
Abstract inline measurements.
Primary include file for CHROMA library code.
Inline measurement of static-light-light spectrum.
InlineSpectrumQll(const InlineSpectrumQll &p)
InlineSpectrumQllParams params
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
InlineSpectrumQll(const InlineSpectrumQllParams &p)
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.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
void write(XMLWriter &xml_out, const std::string &path)
struct Chroma::InlineSpectrumQllParams::NamedObject_t named_obj
struct Chroma::InlineSpectrumQllParams::Param_t param