CHROMA
hb_params.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*! \file
4  * \brief Parameters for heat-bath
5  */
6 
7 #ifndef HB_PARAMS_H
8 #define HB_PARAMS_H
9 
10 namespace Chroma
11 {
12 
13  //! Heat-bath params
14  /*! \ingroup heatbath */
15  struct HBParams
16  {
17  int nmax() const { return NmaxHB; }
18  Double beta() const { return BetaMC; }
19  Double xi() const { return xi_0; }
20  Double xi2() const { return xi_0*xi_0; }
21  bool aniso() const {return anisoP; }
22 
23  /**************************************************
24  * number of maximum HB tries for Creutz or KP a_0,
25  * negative or zero value - update every single link
26  * (try infinitely long)
27  **************************************************/
28  int NmaxHB;
29  // MC SU(N) Beta
31  //the bare anisotropy
33  int t_dir;
34  int nOver;
35  bool anisoP;
36  };
37 
38 
39  //! Reader
40  void read(XMLReader& xml, const std::string& path, HBParams& p);
41 
42  //! Writer
43  void write(XMLWriter& xml, const std::string& path, const HBParams& p);
44 
45 } // end namespace Chroma
46 
47 #endif
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
FloatingPoint< double > Double
Definition: gtest.h:7351
::std::string string
Definition: gtest.h:1979
Heat-bath params.
Definition: hb_params.h:16
int nmax() const
Definition: hb_params.h:17
Double xi2() const
Definition: hb_params.h:20
bool aniso() const
Definition: hb_params.h:21
Double xi() const
Definition: hb_params.h:19
Double beta() const
Definition: hb_params.h:18