28 LatticeColorMatrix& v,
60 while ( toBool(conver > BlkAccu) && iter < BlkMax )
72 new_tr =
sum(real(trace(v * w)), mstag) *
norm;
76 QDPIO::cout <<
"iter = " << iter << std::endl;
77 QDPIO::cout <<
" old_tr = " << old_tr << std::endl;
78 QDPIO::cout <<
" new_tr = " << new_tr << std::endl;
82 conver = fabs((new_tr - old_tr) / old_tr);
93 QDPIO::cout <<
"iter = " << iter << std::endl;
94 QDPIO::cout <<
"new_tr = " << new_tr << std::endl;
102 LatticeColorMatrix& v,
110 LatticeColorMatrix& v,
Primary include file for CHROMA library code.
Asqtad Staggered-Dirac operator.
void sun_proj_t(const LatticeColorMatrix &w, LatticeColorMatrix &v, const Real &BlkAccu, int BlkMax, const S &mstag)
void su3proj(LatticeColorMatrix &u, const LatticeColorMatrix &w, int su2_index)
void sun_proj(const LatticeColorMatrix &w, LatticeColorMatrix &v, const Real &BlkAccu, int BlkMax)
void reunit(LatticeColorMatrixF3 &xa)
FloatingPoint< double > Double
Reunitarize in place a color matrix to SU(N)
Project a GL(3,C) color matrix onto SU(3)
Project a complex Nc x Nc matrix W onto SU(Nc) by maximizing Tr(VW)