CHROMA
minvcg2_accum.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 MINVCG2_ACCUM_INCLUDE
7 #define MINVCG2_ACCUM_INCLUDE
8 
9 #include "linearop.h"
10 
11 namespace Chroma
12 {
13 
14 
15  /*! \ingroup invert */
16  template<typename T>
17  void MInvCG2Accum(const LinearOperator<T>& M,
18  const T& chi,
19  T& psi,
20  const Real& norm,
21  const multi1d<Real>& residues,
22  const multi1d<Real>& poles,
23  const Real& RsdCG,
24  int MaxCG,
25  int &n_count);
26 
27  /*! \ingroup invert */
28  template<typename T, typename P, typename Q>
29  void MInvCG2Accum(const DiffLinearOperator<T,P,Q>& M,
30  const T& chi,
31  T& psi,
32  const Real& norm,
33  const multi1d<Real>& residues,
34  const multi1d<Real>& poles,
35  const Real& RsdCG,
36  int MaxCG,
37  int &n_count);
38 
39 } // end namespace Chroma
40 
41 
42 #endif
void MInvCG2Accum(const LinearOperator< LatticeFermion > &M, const LatticeFermion &chi, LatticeFermion &psi, const Real &norm, const multi1d< Real > &residues, const multi1d< Real > &poles, const Real &RsdCG, 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
int n_count
Definition: invbicg.cc:78
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > const multi1d< Real > enum InvType invType const multi1d< Real > int MaxCG
Definition: pbg5p_w.cc:32
multi1d< LatticeFermion > chi(Ncb)
LatticeFermion psi
Definition: mespbg5p_w.cc:35
int norm
Definition: qtopcor.cc:35
LatticeFermion T
Definition: t_clover.cc:11