CHROMA
walfil_s.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Wall source construction
4  */
5 
6 #ifndef __wallfil_s_h__
7 #define __wallfil_s_h__
8 
9 namespace Chroma {
10 
11 //! Fill a specific color and spin index with 1.0 on a wall
12 /*!
13  * \ingroup sources
14  *
15  * This routine is specific to Staggered fermions!
16  *
17  * Fill a specific color index with 1.0, on sites in a slice
18  * where everything has even coordinates.
19  *
20  * \param a Source fermion (write)
21  * \param slice time slice
22  * \param mu direction of slice
23  * \param color_index Color index
24  * \param src_index Index which defines which corner of a cube on
25  * the source time slice you want your source to
26  * be on. The std::mapping from src_index to site is
27  * lexicographic, i.e: 0 is (0,0,0), 1 is (1,0,0),
28  * 2 is (0,1,0), 3 is (1,1,0), 4 is (0,0,1),
29  * 5 is (1,0,1), 6 is (0,1,1) and 7 is (1,1,1).
30  *
31 
32  */
33 
34 void walfil(LatticeStaggeredFermion& a, int slice, int mu, int color_index, int src_index);
35 
36 } // end namespace Chroma
37 
38 #endif
int mu
Definition: cool.cc:24
void walfil(LatticeStaggeredFermion &a, int slice, int mu, int color_index, int src_index)
Fill a specific color and spin index with 1.0 on a wall.
Definition: walfil_s.cc:36
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
Complex a
Definition: invbicg.cc:95