9 int main(
int argc,
char *argv[])
15 const int foo[] = {4,4,4,4};
16 multi1d<int> nrow(
Nd);
18 Layout::setLattSize(nrow);
21 XMLFileWriter xml(
"t_ape_smear.xml");
22 push(xml,
"t_ape_smear");
27 write(xml,
"nrow", nrow);
32 multi1d<LatticeColorMatrix>
u(
Nd);
35 QDPIO::cerr <<
"Start gaussian\n";
36 for(
int m=0;
m <
u.size(); ++
m)
40 for(
int m=0;
m <
u.size(); ++
m)
45 QDPIO::cout <<
"w_plaq = " <<
w_plaq << std::endl;
46 QDPIO::cout <<
"link = " <<
link << std::endl;
49 push(xml,
"observables");
62 Real BlkAccu = 1.0e-5;
64 multi1d<LatticeColorMatrix> u_smr(
Nd);
66 for(
int i=0;
i < sm_numb; ++
i)
68 multi1d<LatticeColorMatrix> u_tmp(
Nd);
74 u_tmp[
mu] = u_smr[
mu];
81 QDPIO::cout <<
"w_plaq = " <<
w_plaq << std::endl;
82 QDPIO::cout <<
"link = " <<
link << std::endl;
85 push(xml,
"Smeared_observables");
Primary include file for CHROMA in application codes.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
void APE_Smear(const multi1d< LatticeColorMatrix > &u, LatticeColorMatrix &u_smear, int mu, int bl_level, const Real &sm_fact, const Real &BlkAccu, int BlkMax, int j_decay)
Construct APE smeared links from:
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
void initialize(int *argc, char ***argv)
Chroma initialisation routine.
void finalize(void)
Chroma finalization routine.
void reunit(LatticeColorMatrixF3 &xa)
void MesPlq(const multi1d< LatticeColorMatrixF3 > &u, multi2d< Double > &plane_plaq, Double &link)
FloatingPoint< double > Double
int main(int argc, char *argv[])