CHROMA
lib
meas
gfix
rot_colvec.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
/*! \file
3
* \brief Rotate a color std::vector
4
*/
5
6
#ifndef __rot_colvec_h__
7
#define __rot_colvec_h__
8
9
namespace
Chroma
{
10
11
//! Rotate a color std::vector
12
/*!
13
* \ingroup gfix
14
*
15
* Rotate a color std::vector into the form where the component with index
16
* s_index is real and the component with larger index are zero.
17
* We do this by a series of SU(2) gauge rotations.
18
*
19
* \param g Gauge transformation (Write)
20
* \param psi Input color std::vector field (Read)
21
* \param chi Output color std::vector field (Write)
22
* \param s_index color index (Read)
23
*/
24
25
void
rot_colvec
(LatticeColorMatrix& g,
26
const
LatticeColorVector&
psi
,
27
LatticeColorVector&
chi
,
28
int
s_index);
29
30
}
// end namespace Chroma
31
32
#endif
Chroma::rot_colvec
void rot_colvec(LatticeColorMatrix &g, const LatticeColorVector &psi, LatticeColorVector &chi, int s_index)
Rotate a color std::vector.
Definition:
rot_colvec.cc:25
Chroma
Asqtad Staggered-Dirac operator.
Definition:
klein_gord.cc:10
Chroma::chi
multi1d< LatticeFermion > chi(Ncb)
Chroma::psi
LatticeFermion psi
Definition:
mespbg5p_w.cc:35
Generated by
1.9.1