10 using namespace QDP::Hints;
19 const LatticeFermion&
psi,
25 const int N5 = size();
28 multi1d<LatticeFermion> psi5(
N5); moveToFastMemoryHint(psi5);
34 multi1d<LatticeFermion> tmp5(
N5); moveToFastMemoryHint(tmp5);
37 multi1d<LatticeFermion> chi5(
N5); moveToFastMemoryHint(chi5);
44 (*D)(chi5, tmp5,
PLUS);
52 (*PV)(tmp5, chi5,
MINUS);
55 res =
InvCG2(*PV, tmp5, psi5, invParam.RsdCG, invParam.MaxCG);
68 res =
InvCG2(*PV, tmp5, psi5, invParam.RsdCG, invParam.MaxCG);
71 (*PV)(tmp5, psi5,
PLUS);
75 (*D)(psi5, tmp5,
MINUS);
84 if ( res.
n_count == invParam.MaxCG )
Primary include file for CHROMA library code.
DWF parity/rotation operator.
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.
void DwfFld(multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign)
DWF parity/rotation operator.
Conjugate-Gradient algorithm for a generic Linear Operator.
multi1d< Hadron2PtContraction_t > operator()(const multi1d< LatticeColorMatrix > &u)
Asqtad Staggered-Dirac operator.
QDP_error_exit("too many BiCG iterations", n_count, rsd_sq, cp, c, re_rvr, im_rvr, re_a, im_a, re_b, im_b)
Holds return info from SystemSolver call.
Unpreconditioned projected DWF operator to 4D.