CHROMA
barQll_w.h
Go to the documentation of this file.
1 //$Id: barQll_w.h,v 1.8 2009-04-09 22:57:38 caubin Exp $
2 /*! \file
3  * \brief Heavy Baryon (Qll) 2-pt function : Orginos and Savage
4  */
5 
6 #ifndef __barQll_h__
7 #define __barQll_h__
8 
9 #include "chromabase.h"
10 #include "util/ft/sftmom.h"
11 
12 namespace Chroma {
13 
14 //! Lambdaq and SigmaQ 2-pt functions
15 /*!
16  * \ingroup hadron
17  *
18  * This routine is specific to Wilson fermions!
19  *
20  * Construct baryon propagators for the LambdaQ and SigmaQ(*) with
21  * degenerate "u" and "d" quarks. In the heavy quark limit the Sigma
22  * and Sigma* are degenerate. The heavy quark is inserted in the
23  * infinitely heavy quark limit
24  * by a Wilson-Line without spin indices.
25  * We are effectively propagating a spin-0 diquark and a spin-1 diquark.
26  *
27  * \param u gauge field (Read)
28  * \param quark_propagator quark propagator ( Read )
29  * \param src_coord cartesian coordinates of the source ( Read )
30  * \param phases holds list of momenta and Fourier phases ( Read )
31  * \param xml xml file object ( Read )
32  * \param xml_group group name for xml data ( Read )
33  *
34  */
35 
36 void Qll(const multi1d<LatticeColorMatrix>& u,
37  const LatticePropagator& quark_propagator,
38  const multi1d<int>& src_coord,
39  const SftMom& phases,
40  XMLWriter& xml,
41  const std::string& xml_group);
42 
43 void Qll(const multi1d<LatticeColorMatrix>& u,
44  const LatticePropagator& quark_prop1,
45  const LatticePropagator& quark_prop2,
46  const multi1d<int>& src_coord,
47  const SftMom& phases,
48  XMLWriter& xml,
49  const std::string& xml_group);
50 
51 //! Heavy Quark Propagator
52 /*!
53  * \ingroup hadron
54  *
55  *
56  * This constructs the propagator for a spinless Wilson-Line propagating from the
57  * point src_coord forward in time, and vanishing on previous time-slices.
58  *
59  * \param Qprop Wilson-Line (write)
60  * \param u Gauge Field (Read)
61  * \param src_coord cartesian coordinates of the source ( Read )
62  *
63  */
64 void HeavyQuarkProp(LatticeColorMatrix& Qprop,
65  const multi1d<LatticeColorMatrix>& u,
66  const multi1d<int>& src_coord,
67  int length,
68  int bc = 0);
69 
70 //! Backwards Heavy Quark Propagator
71 /*!
72  * \ingroup hadron
73  *
74  *
75  * This constructs the propagator for a spinless Wilson-Line propagating from the
76  * point src_coord backward in time, and vanishing on later time-slices.
77  *
78  * \param Qprop Wilson-Line (write)
79  * \param u Gauge Field (Read)
80  * \param src_coord cartesian coordinates of the source ( Read )
81  *
82  */
83 void HeavyQuarkPropBack(LatticeColorMatrix& Qprop,
84  const multi1d<LatticeColorMatrix>& u,
85  const multi1d<int>& src_coord,
86  int length,
87  int bc = 0);
88 
89 
90 
91 
92 
93 //! Function object used for constructing the time-slice set
94 class TimeSliceFunc : public SetFunc
95 {
96 public:
97  TimeSliceFunc(int dir): dir_decay(dir) {}
98 
99  int operator() (const multi1d<int>& coordinate) const
100  {
101  if ((dir_decay<0)||(dir_decay>=Nd)) {
102  return 0 ;
103  } else {
104  return coordinate[dir_decay] ;
105  }
106  }
107 
108  int numSubsets() const
109  {
110  if ((dir_decay<0)||(dir_decay>=Nd)) {
111  return 1 ;
112  } else {
113  return Layout::lattSize()[dir_decay] ;
114  }
115  }
116 
117 private:
118  TimeSliceFunc() {} // hide default constructor
119 
121 };
122 
123 }
124 
125 #endif
Primary include file for CHROMA library code.
Function object used for constructing the time-slice set.
Definition: barQll_w.h:95
int numSubsets() const
Definition: barQll_w.h:108
int operator()(const multi1d< int > &coordinate) const
Definition: barQll_w.h:99
TimeSliceFunc(int dir)
Definition: barQll_w.h:97
void HeavyQuarkProp(LatticeColorMatrix &Qprop, const multi1d< LatticeColorMatrix > &u, const multi1d< int > &src_coord, int length, int bc)
Heavy Quark Propagator.
Definition: barQll_w.cc:149
void Qll(const multi1d< LatticeColorMatrix > &u, const LatticePropagator &quark_prop1, const LatticePropagator &quark_prop2, const multi1d< int > &src_coord, const SftMom &phases, XMLWriter &xml, const std::string &xml_group)
Lambdaq and SigmaQ 2-pt functions.
Definition: barQll_w.cc:33
void HeavyQuarkPropBack(LatticeColorMatrix &Qprop, const multi1d< LatticeColorMatrix > &u, const multi1d< int > &src_coord, int length, int bc)
Backwards Heavy Quark Propagator.
Definition: barQll_w.cc:207
multi1d< int > bc
Nd
Definition: meslate.cc:74
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
static multi1d< LatticeColorMatrix > u
::std::string string
Definition: gtest.h:1979
Fourier transform phase factor support.