11 int main(
int argc,
char *argv[])
17 const int foo[] = {2,2,2,2};
18 multi1d<int> nrow(
Nd);
20 Layout::setLattSize(nrow);
23 XMLFileWriter xml(
"t_conslinop.xml");
24 push(xml,
"t_conslinop");
29 write(xml,
"nrow", nrow);
34 multi1d<LatticeColorMatrix>
u(
Nd);
36 QDPIO::cout <<
"Start gaussian\n";
37 for(
int m=0;
m <
u.size(); ++
m)
46 multi1d<LatticeColorMatrix>,
48 multi1d<LatticeColorMatrix>,
49 multi1d<LatticeColorMatrix> >(
u));
53 QDPIO::cout <<
"before dslash call" << std::endl;
56 QDPIO::cout <<
"after dslash call" << std::endl;
58 QDPIO::cout <<
"before wilson construct" << std::endl;
61 QDPIO::cout <<
"after wilson construct" << std::endl;
63 QDPIO::cout <<
"after wilson call" << std::endl;
69 multi1d<LatticeColorMatrix>,
71 multi1d<LatticeColorMatrix>,
72 multi1d<LatticeColorMatrix> >());
78 multi1d<LatticeColorMatrix>,
89 push(xml,
"norm_check");
Primary include file for CHROMA in application codes.
Create a fermion connection state.
Create a simple ferm connection state.
Support class for fermion actions and linear operators.
virtual FermState< T, P, Q > * createState(const Q &q) const
Given links (coordinates Q) create the state needed for the linear operators.
Class for counted reference semantics.
Periodic version of FermState.
General Wilson-Dirac dslash.
Unpreconditioned Wilson fermion action.
UnprecLinearOperator< T, P, Q > * linOp(Handle< FermState< T, P, Q > > state) const
Produce a linear operator for this action.
Unpreconditioned Wilson-Dirac operator.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
void apply(T &chi, const T &psi, enum PlusMinus isign, int cb) const
General Wilson-Dirac dslash.
BinaryReturn< C1, C2, FnInnerProduct >::Type_t innerProduct(const QDPSubType< T1, C1 > &s1, const QDPType< T2, C2 > &s2)
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > const multi1d< Real > & Mass
push(xml_out,"Condensates")
void initialize(int *argc, char ***argv)
Chroma initialisation routine.
void finalize(void)
Chroma finalization routine.
multi1d< LatticeFermion > chi(Ncb)
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
int main(int argc, char *argv[])