CHROMA
staggered_qprop.cc
Go to the documentation of this file.
1 /*! \file
2  * \brief Propagator solver for an even-odd non-preconditioned fermion operator
3  *
4  * Solve for the propagator of an even-odd non-preconditioned fermion operator
5  */
6 
7 #include "fermact.h"
10 
11 namespace Chroma
12 {
13 
14  typedef LatticeStaggeredFermion LF;
15  typedef multi1d<LatticeColorMatrix> LCM;
16 
17  /*
18  template<>
19  SystemSolver<LF>*
20  EvenOddStaggeredTypeFermAct<LF,LCM,LCM>::qprop(Handle< FermState<LF,LCM,LCM> > state,
21  const GroupXML_t& invParam) const
22  {
23  return new EvenOddFermActQprop<LF,LCM>(Handle< const EvenOddLinearOperator<LF,LCM> >(linOp(state)),
24  Handle< const LinearOperator<LF> >(lMdagM(state)),
25  getQuarkMass(),
26  Handle< MdagMSystemSolverArray<LF> >(invMdagM(state,invParam)));
27  }
28  */
29 
30 
31  //! Return a linear operator solver for this action to solve MdagM*psi=chi
32  /*! \ingroup qprop */
33  template<>
36  const GroupXML_t& invParam) const
37  {
38  std::istringstream is(invParam.xml);
39  XMLReader paramtop(is);
40  SysSolverCGParams params(paramtop,invParam.path);
41 
42  return new EvenOddFermActQprop<LF,LCM,LCM>(*this,
43  state,
44  params);
45  }
46 
47 }
Propagator of a generic even-odd fermion linear operator.
virtual SystemSolver< T > * qprop(Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
Return quark prop solver, solution of unpreconditioned system.
Support class for fermion actions and linear operators.
Definition: state.h:94
Class for counted reference semantics.
Definition: handle.h:33
Linear system solvers.
Definition: syssolver.h:34
Propagator solver for an even-odd non-preconditioned fermion operator.
Class structure for fermion actions.
Params params
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
LatticeStaggeredFermion LF
Definition: asqtad_qprop.cc:19
multi1d< LatticeColorMatrix > LCM
Definition: asqtad_qprop.cc:20
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Definition: pbg5p_w.cc:28
Hold group xml and type id.
Params for CG inverter.
Solve a CG1 system.