CHROMA
gaus_smear.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Gaussian smearing of color std::vector
4  */
5 
6 #ifndef __gaus_smear_h__
7 #define __gaus_smear_h__
8 
9 namespace Chroma
10 {
11 
12  //! Do a covariant Gaussian smearing of a lattice color std::vector field
13  /*! This is a wrapper over the template definition
14  *
15  * \ingroup smear
16  *
17  * Arguments:
18  *
19  * \param u gauge field ( Read )
20  * \param chi color std::vector field ( Modify )
21  * \param width width of "shell" wave function ( Read )
22  * \param ItrGaus number of iterations to approximate Gaussian ( Read )
23  * \param j_decay direction of decay ( Read )
24  */
25  void gausSmear(const multi1d<LatticeColorMatrix>& u,
26  LatticeColorVector& chi,
27  const Real& width, int ItrGaus, int j_decay);
28 
29 
30  //! Do a covariant Gaussian smearing of a lattice fermion field
31  /*! This is a wrapper over the template definition
32  *
33  * \ingroup smear
34  *
35  * Arguments:
36  *
37  * \param u gauge field ( Read )
38  * \param chi fermion field ( Modify )
39  * \param width width of "shell" wave function ( Read )
40  * \param ItrGaus number of iterations to approximate Gaussian ( Read )
41  * \param j_decay direction of decay ( Read )
42  */
43  void gausSmear(const multi1d<LatticeColorMatrix>& u,
44  LatticeFermion& chi,
45  const Real& width, int ItrGaus, int j_decay);
46 
47 
48  //! Do a covariant Gaussian smearing of a lattice propagator field
49  /*! This is a wrapper over the template definition
50  *
51  * \ingroup smear
52  *
53  * Arguments:
54  *
55  * \param u gauge field ( Read )
56  * \param chi propagator field ( Modify )
57  * \param width width of "shell" wave function ( Read )
58  * \param ItrGaus number of iterations to approximate Gaussian ( Read )
59  * \param j_decay direction of decay ( Read )
60  */
61  void gausSmear(const multi1d<LatticeColorMatrix>& u,
62  LatticeStaggeredPropagator& chi,
63  const Real& width, int ItrGaus, int j_decay);
64 
65 
66  //! Do a covariant Gaussian smearing of a lattice propagator field
67  /*! This is a wrapper over the template definition
68  *
69  * \ingroup smear
70  *
71  * Arguments:
72  *
73  * \param u gauge field ( Read )
74  * \param chi propagator field ( Modify )
75  * \param width width of "shell" wave function ( Read )
76  * \param ItrGaus number of iterations to approximate Gaussian ( Read )
77  * \param j_decay direction of decay ( Read )
78  */
79  void gausSmear(const multi1d<LatticeColorMatrix>& u,
80  LatticePropagator& chi,
81  const Real& width, int ItrGaus, int j_decay);
82 
83 } // end namespace Chroma
84 
85 #endif
void gausSmear(const multi1d< LatticeColorMatrix > &u, T &chi, const Real &width, int ItrGaus, int j_decay)
Do a covariant Gaussian smearing of a lattice field.
Definition: gaus_smear.cc:24
int j_decay
Definition: meslate.cc:22
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
static multi1d< LatticeColorMatrix > u
multi1d< LatticeFermion > chi(Ncb)