CHROMA
lib
util
gauge
su2extract.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
/*! \file
3
* \brief Extract an unnormalized SU(2) matrix from a GL(3,C) matrix
4
*/
5
6
#ifndef __su2extract__
7
#define __su2extract__
8
9
namespace
Chroma
{
10
11
//! Su2_extract: r_0,r_1,r_2,r_3 <- source(su2_index) [SU(N) field] under a subset
12
/*!
13
* \ingroup gauge
14
*
15
* Extract components r_k proportional to SU(2) submatrix su2_index
16
* from the "SU(Nc)" matrix V. The SU(2) matrix is parametrized in the
17
* sigma matrix basis.
18
*
19
* There are Nc*(Nc-1)/2 unique SU(2) submatrices in an SU(Nc) matrix.
20
* The user does not need to know exactly which one is which, just that
21
* they are unique.
22
*
23
* Arguments:
24
*
25
* \param r su(2) matrix represented in the O(4) rep. - an array of LatticeReal
26
* \param source extract the su2 matrix from this su(n) gauge field
27
* \param su2_index int lying in [0, Nc*(Nc-1)/2)
28
* \param s subset for operations (Read)
29
*/
30
31
void
32
su2Extract
(multi1d<LatticeReal>&
r
,
33
const
LatticeColorMatrix& source,
34
int
su2_index
,
35
const
Subset&
s
);
36
37
38
}
39
#endif
su2_index
int su2_index
Definition:
cool.cc:27
Chroma::su2Extract
void su2Extract(multi1d< LatticeReal > &r, const LatticeColorMatrix &source, int su2_index, const Subset &s)
Su2_extract: r_0,r_1,r_2,r_3 <- source(su2_index) [SU(N) field] under a subset.
Definition:
su2extract.cc:86
Chroma
Asqtad Staggered-Dirac operator.
Definition:
klein_gord.cc:10
Chroma::r
r
Definition:
invbicg.cc:137
Chroma::s
multi1d< LatticeFermion > s(Ncb)
Generated by
1.9.1