CHROMA
minvcg_accumulate_array.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Multishift Conjugate-Gradient algorithm for a Linear Operator
4  */
5 
6 #ifndef __minvcg_accumulate_array_h__
7 #define __minvcg_accumulate_array_h__
8 
9 #include "linearop.h"
10 
11 
12 using namespace QDP;
13 
14 namespace Chroma
15 {
16 
17  /*! \ingroup invert */
18  template<typename T>
19  void MInvCGAccum(const LinearOperatorArray<T>& A,
20  const multi1d<T>& chi,
21  multi1d<T>& psi,
22  const Real& norm,
23  const multi1d<Real>& residues,
24  const multi1d<Real>& poles,
25  const Real& RsdCG,
26  const int MaxCG,
27  int &n_count);
28 
29 
30  /*! \ingroup invert */
31  template<typename T, typename P, typename Q>
32  void MInvCGAccum(const DiffLinearOperatorArray<T,P,Q>& A,
33  const multi1d<T>& chi,
34  multi1d<T>& psi,
35  const Real& norm,
36  const multi1d<Real>& residues,
37  const multi1d<Real>& poles,
38  const Real& RsdCG,
39  const int MaxCG,
40  int &n_template);
41 
42 
43 } // end namespace Chroma
44 
45 
46 #endif
EXTERN int MaxCG
void MInvCGAccum(const LinearOperatorArray< LatticeFermion > &M, const multi1d< LatticeFermion > &chi, multi1d< LatticeFermion > &psi, const Real &norm, const multi1d< Real > &residues, const multi1d< Real > &poles, const Real &RsdCG, const int MaxCG, int &n_count)
Linear Operators.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > const multi1d< Real > enum InvType invType const multi1d< Real > & RsdCG
Definition: pbg5p_w.cc:30
A(A, psi, r, Ncb, PLUS)
chi
Definition: pade_trln_w.cc:24
psi
Definition: pade_trln_w.cc:191
int n_count
Definition: pade_trln_w.cc:69
int norm
Definition: qtopcor.cc:35