CHROMA
enum_heatbathtype_io.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Heatbath enum
4  */
5 
6 #ifndef enum_heatbatbtype_io_h
7 #define enum_heatbatbtype_io_h
8 
9 #include "chromabase.h"
10 #include <string>
11 #include "singleton.h"
13 #include "update/heatbath/su3hb.h"
14 
15 
16 namespace Chroma {
17 
18  /*!
19  * Types and structures
20  *
21  * \ingroup io
22  *
23  * @{
24  */
25  //! Heatbath type
26  namespace HeatbathTypeEnv {
27  extern const std::string typeIDString;
28  extern bool registered;
29  bool registerAll(void); // Forward declaration
30  }
31 
32  // A singleton to hold the typemap
34 
35  // Reader and writer
36 
37  //! Read an HeatbathType enum
38  void read(XMLReader& r, const std::string& path, HeatbathType& t);
39 
40  //! Write an HeatbathType enum
41  void write(XMLWriter& w, const std::string& path, const HeatbathType& t);
42 
43  /*! @} */ // end of group io
44 }
45 #endif
Primary include file for CHROMA library code.
Enum std::map.
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.
int t
Definition: meslate.cc:37
const std::string typeIDString
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
HeatbathType
Algorithm type.
Definition: su3hb.h:13
SingletonHolder< EnumTypeMap< HeatbathType > > theHeatbathTypeMap
::std::string string
Definition: gtest.h:1979
Singleton support.
Do one SU(2) subgroup heatbath update of SU(Nc) matrix U with action.