10 int main(
int argc,
char **argv)
16 const int foo[] = {4,4,4,4};
17 multi1d<int> nrow(
Nd);
19 Layout::setLattSize(nrow);
23 multi1d<LatticeColorMatrix>
u(
Nd);
24 for(
int m=0;
m <
u.size(); ++
m)
31 for(
int m=0;
m <
u.size(); ++
m)
38 XMLFileWriter xml(
"t_overbu.xml");
44 write(xml,
"nrow", nrow);
58 LatticeFermion chi_tmp;
66 Double ratio = solnorm / sqrt(norm2(
chi));
67 QDPIO::cout <<
"|solution| / |source| = " << ratio << std::endl;
Primary include file for CHROMA in application codes.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
SystemSolverResults_t InvCG2(const LinearOperator< LatticeFermionF > &M, const LatticeFermionF &chi, LatticeFermionF &psi, const Real &RsdCG, int MaxCG)
Conjugate-Gradient (CGNE) algorithm for a generic Linear Operator.
Asqtad Staggered-Dirac operator.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > const multi1d< Real > enum InvType invType const multi1d< Real > & RsdCG
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > const multi1d< Real > enum InvType invType const multi1d< Real > int MaxCG
void initialize(int *argc, char ***argv)
Chroma initialisation routine.
void finalize(void)
Chroma finalization routine.
multi1d< LatticeFermion > chi(Ncb)
void reunit(LatticeColorMatrixF3 &xa)
FloatingPoint< double > Double
int main(int argc, char **argv)