CHROMA
multi_syssolver_mdagm_accumulate_aggregate.cc
Go to the documentation of this file.
1 /*! \file
2  * \brief All MdagM system solver constructors
3  */
4 
6 
9 
10 namespace Chroma
11 {
12  //! Registration aggregator
13  namespace MdagMMultiSysSolverAccumulateEnv
14  {
15  //! Local registration flag
16  static bool registered = false;
17 
18  //! Register all the factories
19  bool registerAll()
20  {
21  bool success = true;
22  if (! registered)
23  {
24  // Sources
26 
27  registered = true;
28  }
29  return success;
30  }
31  }
32 
33  /* This doesnt work yet */
34 
35  //! Registration aggregator
36  namespace MdagMMultiSysSolverAccumulateArrayEnv
37  {
38  //! Local registration flag
39  static bool registered = false;
40 
41  //! Register all the factories
42  bool registerAll()
43  {
44  bool success = true;
45  if (! registered)
46  {
47  // Sources
49  registered = true;
50  }
51  return success;
52  }
53  }
54 
55 
56 }
Register MdagM system solvers.
Solve a MdagM*psi=chi linear system by CG2.
Solve a MdagM*psi=chi linear system by multi-shift CG.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10