CHROMA
|
TRIACNTR. More...
Classes | |
struct | QUDAPackArgs |
struct | QDPCloverMakeClovArg |
struct | LDagDLInvArgs |
struct | TriaCntrArgs |
struct | ApplyArgs |
Functions | |
template<typename R , typename TD , typename TO > | |
void | qudaPackSiteLoop (int lo, int hi, int myId, QUDAPackArgs< R, TD, TO > *a) |
template<typename U > | |
void | makeClovSiteLoop (int lo, int hi, int myId, QDPCloverMakeClovArg< U > *a) |
template<typename U > | |
void | LDagDLInvSiteLoop (int lo, int hi, int myId, LDagDLInvArgs< U > *a) |
template<typename U > | |
void | cholesSiteLoop (int lo, int hi, int myId, LDagDLInvArgs< U > *a) |
template<typename U > | |
void | triaCntrSiteLoop (int lo, int hi, int myId, TriaCntrArgs< U > *a) |
template<typename T > | |
void | applySiteLoop (int lo, int hi, int MyId, ApplyArgs< T > *arg) |
template<typename R > | |
void | qudaPackSiteLoop (int lo, int hi, int myId, QUDAPackArgs< R > *a) |
TRIACNTR.
CHLCLOVMS - Cholesky decompose the clover mass term and uses it to compute lower(A^-1) = lower((L.L^dag)^-1) Adapted from Golub and Van Loan, Matrix Computations, 2nd, Sec 4.2.4
Arguments:
DetP | flag whether to compute determinant (Read) |
logdet | logarithm of the determinant (Write) |
cb | checkerboard of work (Read) |
Calculates Tr_D ( Gamma_mat L )
This routine is specific to Wilson fermions!
the trace over the Dirac indices for one of the 16 Gamma matrices and a hermitian color x spin matrix A, stored as a block diagonal complex lower triangular matrix L and a real diagonal diag_L.
Here 0 <= mat <= 15 and if mat = mat_1 + mat_2 * 2 + mat_3 * 4 + mat_4 * 8
Gamma(mat) = gamma(1)^(mat_1) * gamma(2)^(mat_2) * gamma(3)^(mat_3)
Further, in basis for the Gamma matrices used, A is of the form
| A_0 | 0 |
A = | ------— | | 0 | A_1 |
Arguments:
B | the resulting SU(N) color matrix (Write) |
clov | clover term (Read) |
mat | label of the Gamma matrix (Read) |
void Chroma::QDPCloverEnv::applySiteLoop | ( | int | lo, |
int | hi, | ||
int | MyId, | ||
ApplyArgs< T > * | arg | ||
) |
Definition at line 1563 of file clover_term_qdp_w.h.
References Chroma::cb, Chroma::QDPCloverEnv::ApplyArgs< T >::cb, Chroma::chi(), Chroma::QDPCloverEnv::ApplyArgs< T >::chi, Chroma::PrimitiveClovTriang< R >::diag, Chroma::END_CODE(), Chroma::i, j, n, Chroma::PrimitiveClovTriang< R >::offd, Chroma::QDPCloverEnv::ApplyArgs< T >::psi, Chroma::psi, Chroma::START_CODE(), and Chroma::QDPCloverEnv::ApplyArgs< T >::tri.
|
inline |
Definition at line 863 of file clover_term_qdp_w.h.
References Chroma::a, Chroma::cb, Chroma::PrimitiveClovTriang< R >::diag, elem_ij, elem_ji, Chroma::i, j, Chroma::k, n, Chroma::PrimitiveClovTriang< R >::offd, Chroma::one, Chroma::s(), sum, and Chroma::zero.
|
inline |
Definition at line 621 of file clover_term_qdp_w.h.
References Chroma::a, Chroma::block(), Chroma::cb, Chroma::PrimitiveClovTriang< R >::diag, elem_ij, elem_ji, Chroma::i, j, Chroma::k, l, Chroma::PrimitiveClovTriang< R >::offd, Chroma::one, and sum.
|
inline |
Definition at line 400 of file clover_term_qdp_w.h.
References Chroma::a, Chroma::PrimitiveClovTriang< R >::diag, elem_ij, std::tr1::f1, std::tr1::f2, std::tr1::f3, std::tr1::f4, std::tr1::f5, Chroma::i, j, and Chroma::PrimitiveClovTriang< R >::offd.
void Chroma::QDPCloverEnv::qudaPackSiteLoop | ( | int | lo, |
int | hi, | ||
int | myId, | ||
QUDAPackArgs< R > * | a | ||
) |
Definition at line 2174 of file clover_term_qdp_w.h.
References Chroma::a, Chroma::cb, Chroma::PrimitiveClovTriang< R >::diag, Chroma::i, and Chroma::PrimitiveClovTriang< R >::offd.
void Chroma::QDPCloverEnv::qudaPackSiteLoop | ( | int | lo, |
int | hi, | ||
int | myId, | ||
QUDAPackArgs< R, TD, TO > * | a | ||
) |
Definition at line 1743 of file clover_term_llvm_w.h.
References Chroma::a, Chroma::cb, and Chroma::i.
|
inline |
Definition at line 1213 of file clover_term_qdp_w.h.
References Chroma::a, Chroma::cb, Chroma::PrimitiveClovTriang< R >::diag, and Chroma::PrimitiveClovTriang< R >::offd.