CHROMA
syssolver_fgmres_dr_params.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Solve an FGMRESR-DR system
4  */
5 
6 #ifndef __syssolver_fgmres_dr_params_h__
7 #define __syssolver_fgmres_dr_params_h__
8 
9 #include "chromabase.h"
10 #include "io/xml_group_reader.h"
11 
12 namespace Chroma
13 {
14 
15  //! Params for FGMRESDR inverter
16  /*! \ingroup invert */
18  {
20  SysSolverFGMRESDRParams(XMLReader& in, const std::string& path);
21 
22  Real RsdTarget; /*!< Target Residuum */
23  int NKrylov; /*!< Number of vectors before restart */
24  int NDefl; /*!< Number of deflation vectors */
25  int MaxIter; /*!< Total Number of Iterations */
26  GroupXML_t PrecondParams; /*!< Parameters for a preconditioner */
27  };
28 
29 
30  // Reader/writers
31  /*! \ingroup invert */
32  void read(XMLReader& xml, const std::string& path, SysSolverFGMRESDRParams& param);
33 
34  /*! \ingroup invert */
35  void write(XMLWriter& xml, const std::string& path, const SysSolverFGMRESDRParams& param);
36 
37 } // End namespace
38 
39 #endif
40 
Primary include file for CHROMA library code.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams &param)
Read parameters.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams &param)
Writer parameters.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
static QDP_ColorVector * in
::std::string string
Definition: gtest.h:1979
Hold group xml and type id.
Read an XML group as a std::string.