CHROMA
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
q
r
s
t
u
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
c
e
f
g
h
m
o
p
q
r
s
t
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
q
r
s
t
u
w
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
e
h
i
k
r
s
t
v
Related Functions
:
a
g
h
i
l
o
p
r
s
t
u
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
e
l
m
p
q
s
t
u
Enumerations
Enumerator
c
e
f
g
h
l
n
o
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
lib
util
gauge
sunfill.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
/*! \file
3
* \brief Fill an SU(Nc) matrix with an SU(2) submatrix
4
*/
5
6
#ifndef __sunfill_h__
7
#define __sunfill_h__
8
9
namespace
Chroma
10
{
11
12
//! Fill a dest(su2_index) <- r_0,r_1,r_2,r_3 under a subset
13
/*!
14
* \ingroup gauge
15
*
16
* Fill an SU(Nc) matrix V with the SU(2) submatrix su2_index
17
* paramtrized by b_k in the sigma matrix basis.
18
*
19
* Fill in B from B_SU(2) = b0 + i sum_k bk sigma_k
20
*
21
* There are Nc*(Nc-1)/2 unique SU(2) submatrices in an SU(Nc) matrix.
22
* The user does not need to know exactly which one is which, just that
23
* they are unique.
24
*
25
* Arguments:
26
*
27
* \param dest su(n) matrix
28
* \param r su2 matrix represented in the O(4) rep. - an array of LatticeReal
29
* \param su2_index int lying in [0, Nc*(Nc-1)/2)
30
* \param s subset for operations (Read)
31
*/
32
void
33
sunFill
(LatticeColorMatrix& dest,
34
const
multi1d<LatticeReal>&
r
,
35
int
su2_index
,
36
const
Subset&
s
);
37
38
39
}
40
// end namespace Chroma
41
42
#endif
su2_index
int su2_index
Definition:
cool.cc:27
Chroma::sunFill
void sunFill(LatticeColorMatrix &dest, const multi1d< LatticeReal > &r, int su2_index, const Subset &s)
Fill a dest(su2_index) <- r_0,r_1,r_2,r_3 under a subset.
Definition:
sunfill.cc:33
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