CHROMA
syssolver_linop_rel_bicgstab_clover.cc
Go to the documentation of this file.
1 /*! \file
2  * \brief Solve a MdagM*psi=chi linear system by CG2
3  */
4 
9 
10 namespace Chroma
11 {
12  namespace LinOpSysSolverReliableBiCGStabCloverEnv
13  {
14 
15  //! Anonymous namespace
16  namespace
17  {
18  //! Name to be used
19  const std::string name("RELIABLE_BICGSTAB_MP_CLOVER_INVERTER");
20 
21  //! Local registration flag
22  bool registered = false;
23  }
24 
25 
26 
28  const std::string& path,
29  Handle< FermState< LatticeFermion, multi1d<LatticeColorMatrix>, multi1d<LatticeColorMatrix> > > state,
30 
32  {
34  }
35 
36  //! Register all the factories
37  bool registerAll()
38  {
39  bool success = true;
40  if (! registered)
41  {
43  registered = true;
44  }
45  return success;
46  }
47  }
48 }
Support class for fermion actions and linear operators.
Definition: state.h:94
Class for counted reference semantics.
Definition: handle.h:33
static T & Instance()
Definition: singleton.h:432
static bool registered
Local registration flag.
const std::string name
Name to be used.
LinOpSystemSolver< LatticeFermion > * createFerm(XMLReader &xml_in, const std::string &path, Handle< FermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > state, Handle< LinearOperator< LatticeFermion > > A)
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
A(A, psi, r, Ncb, PLUS)
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Definition: pbg5p_w.cc:28
::std::string string
Definition: gtest.h:1979
Register linop system solvers that solve M*psi=chi.
Factory for solving M*psi=chi where M is not hermitian or pos. def.
Solve a MdagM*psi=chi linear system by BiCGStab.