12 int main(
int argc,
char *argv[])
18 const int foo[] = {4,4,4,4};
19 multi1d<int> nrow(
Nd);
21 Layout::setLattSize(nrow);
24 XMLFileWriter xml(
"t_formfac.xml");
30 write(xml,
"nrow", nrow);
34 multi1d<LatticeColorMatrix>
u(
Nd);
36 for(
int m=0;
m <
u.size(); ++
m)
40 for(
int m=0;
m <
u.size(); ++
m)
43 LatticePropagator quark_prop_1, quark_prop_2;
54 multi1d<int> sink_mom(
Nd-1) ;
58 clock_t start_clock = clock() ;
63 FormFac(
u, quark_prop_1, quark_prop_2, phases,
t0, xml) ;
65 clock_t end_clock = clock() ;
67 QDPIO::cout <<
"Test took " << end_clock - start_clock <<
" clocks.\n" ;
Primary include file for CHROMA in application codes.
Fourier transform phase factor support.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
void FormFac(FormFac_insertions_t &form, const multi1d< LatticeColorMatrix > &u, const LatticePropagator &quark_propagator, const LatticePropagator &seq_quark_prop, int gamma_insertion, const SftMom &phases, int t0)
Compute contractions for current insertion 3-point functions.
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)