CHROMA
lib
meas
sources
srcfil.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
/*! \file
3
* \brief Point source construction
4
*/
5
6
#ifndef __srcfil_h__
7
#define __srcfil_h__
8
9
namespace
Chroma
10
{
11
12
//! Fill a specific color and spin index with 1.0
13
/*!
14
* \ingroup sources
15
*
16
* This routine is specific to Wilson fermions!
17
*
18
* \param a Source fermion
19
* \param coord Lattice coordinate
20
* \param color_index Color index
21
* \param spin_index Spin index
22
*/
23
24
void
srcfil
(LatticeFermion&
a
,
const
multi1d<int>&
coord
,
int
color_index,
int
spin_index);
25
26
//! Fill a specific color index with 1.0
27
/*!
28
* \ingroup sources
29
*
30
* This routine is specific to Wilson fermions!
31
*
32
* \param a Source lattice Color Vector
33
* \param coord Lattice coordinate
34
* \param color_index Color index
35
*/
36
37
void
srcfil
(LatticeColorVector&
a
,
const
multi1d<int>&
coord
,
int
color_index);
38
39
//! Fill a specific color index with 1.0
40
/*!
41
* \ingroup sources
42
*
43
* This routine is specific to Staggered fermions!
44
*
45
* \param a Source lattice Color Vector
46
* \param coord Lattice coordinate
47
* \param color_index Color index
48
*/
49
50
void
srcfil
(LatticeStaggeredFermion&
a
,
const
multi1d<int>&
coord
,
int
color_index) ;
51
52
}
// end namespace Chroma
53
54
55
#endif
Chroma::srcfil
void srcfil(LatticeFermion &a, const multi1d< int > &coord, int color_index, int spin_index)
Fill a specific color and spin index with 1.0.
Definition:
srcfil.cc:23
coord
multi1d< int > coord(Nd)
Chroma
Asqtad Staggered-Dirac operator.
Definition:
klein_gord.cc:10
Chroma::a
Complex a
Definition:
invbicg.cc:95
Generated by
1.9.1