CHROMA
lib
update
heatbath
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
30
Double
BetaMC
;
31
//the bare anisotropy
32
Double
xi_0
;
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
Chroma::read
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
Definition:
asqtad_fermact_params_s.cc:33
Chroma::write
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
Definition:
asqtad_fermact_params_s.cc:40
Chroma
Asqtad Staggered-Dirac operator.
Definition:
klein_gord.cc:10
Chroma::p
p
Definition:
invbicg.cc:157
testing::internal::Double
FloatingPoint< double > Double
Definition:
gtest.h:7351
testing::internal::string
::std::string string
Definition:
gtest.h:1979
Chroma::HBParams
Heat-bath params.
Definition:
hb_params.h:16
Chroma::HBParams::nmax
int nmax() const
Definition:
hb_params.h:17
Chroma::HBParams::xi2
Double xi2() const
Definition:
hb_params.h:20
Chroma::HBParams::xi_0
Double xi_0
Definition:
hb_params.h:32
Chroma::HBParams::nOver
int nOver
Definition:
hb_params.h:34
Chroma::HBParams::NmaxHB
int NmaxHB
Definition:
hb_params.h:28
Chroma::HBParams::aniso
bool aniso() const
Definition:
hb_params.h:21
Chroma::HBParams::t_dir
int t_dir
Definition:
hb_params.h:33
Chroma::HBParams::xi
Double xi() const
Definition:
hb_params.h:19
Chroma::HBParams::beta
Double beta() const
Definition:
hb_params.h:18
Chroma::HBParams::BetaMC
Double BetaMC
Definition:
hb_params.h:30
Chroma::HBParams::anisoP
bool anisoP
Definition:
hb_params.h:35
Generated by
1.9.1