CHROMA
displacement.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 // $Id: displacement.h,v 3.1 2008-09-26 19:53:28 edwards Exp $
3 /*! \file
4  * \brief Parallel transport a lattice field
5  */
6 
7 #ifndef __displacement_h__
8 #define __displacement_h__
9 
10 namespace Chroma
11 {
12 
13  //! Apply a displacement operator to a lattice field
14  /*!
15  * \ingroup smear
16  *
17  * Arguments:
18  *
19  * \param u gauge field ( Read )
20  * \param chi color std::vector field ( Modify )
21  * \param length length of displacement ( Read )
22  * \param dir direction of displacement ( Read )
23  *
24  *
25  * Description:
26  *
27  * Suppose q(x) is a quark field.
28  * Displacement operator D_j^{(p)} moves quark field
29  * for p lattice sites to the direction j in covariant
30  * fashion.
31  *
32  * Namely,
33  * D_j^{(p)} q(x) = U_j(x) U_j(x+j) U_j(x+2j)...U_j(x+(p-1)j) q(x+pj),
34  * where U is the gauge-link.
35  *
36  * dir: x(0), y(1), z(2)
37  *
38  */
39 
40  void displacement(const multi1d<LatticeColorMatrix>& u,
41  LatticeColorVector& chi,
42  int length, int dir);
43 
44 
45  //! Apply a displacement operator to a lattice field
46  /*!
47  * \ingroup smear
48  *
49  * Arguments:
50  *
51  * \param u gauge field ( Read )
52  * \param chi color std::vector field ( Modify )
53  * \param length length of displacement ( Read )
54  * \param dir direction of displacement ( Read )
55  *
56  *
57  * Description:
58  *
59  * Suppose q(x) is a quark field.
60  * Displacement operator D_j^{(p)} moves quark field
61  * for p lattice sites to the direction j in covariant
62  * fashion.
63  *
64  * Namely,
65  * D_j^{(p)} q(x) = U_j(x) U_j(x+j) U_j(x+2j)...U_j(x+(p-1)j) q(x+pj),
66  * where U is the gauge-link.
67  *
68  * dir: x(0), y(1), z(2)
69  *
70  */
71 
72  void displacement(const multi1d<LatticeColorMatrix>& u,
73  LatticePropagator& chi,
74  int length, int dir);
75 
76 
77  void displacement(const multi1d<LatticeColorMatrix>& u,
78  LatticeFermion& chi,
79  int length, int dir) ;
80 
81 
82  void displacement(const multi1d<LatticeColorMatrix>& u,
83  LatticeStaggeredFermion& chi,
84  int length, int dir) ;
85 
86 
87  void displacement(const multi1d<LatticeColorMatrix>& u,
88  LatticeStaggeredPropagator& chi,
89  int length, int dir) ;
90 
91 } // end namespace Chroma
92 
93 #endif
LatticePropagator displacement(const multi1d< LatticeColorMatrix > &u, const LatticePropagator &chi, int length, int dir)
Apply a displacement operator to a lattice field.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
static multi1d< LatticeColorMatrix > u
multi1d< LatticeFermion > chi(Ncb)