Bridge++  Ver. 2.0.2
quarkNumberSusceptibility_Wilson.h
Go to the documentation of this file.
1 
14 #ifndef QUARKNUMBERSUSCEPTIBILITY_WILSON_INCLUDED
15 #define QUARKNUMBERSUSCEPTIBILITY_WILSON_INCLUDED
16 
17 #include "fprop.h"
18 #include "noiseVector_Z2.h"
19 
20 #include "IO/bridgeIO.h"
21 using Bridge::vout;
22 
24 
38 {
39  public:
40  static const std::string class_name;
41 
42  protected:
44 
45  private:
49 
50  int m_Nnoise;
51 
52  public:
54  : m_vl(CommonParameters::Vlevel()),
55  m_fopr(fopr), m_fprop(fprop), m_nv(nv) {}
56 
58  const Parameters& params)
59  : m_vl(CommonParameters::Vlevel()),
60  m_fopr(fopr), m_fprop(fprop), m_nv(nv)
61  {
62  set_parameters(params);
63  }
64 
65  private:
66  // non-copyable
69 
70  public:
71  void set_parameters(const Parameters& params);
72  void set_parameters(const int Nnoise);
73 
75 
76  void get_parameters(Parameters& params) const;
77 
79  double measure();
80 };
81 #endif
bridgeIO.h
CommonParameters
Common parameter class: provides parameters as singleton.
Definition: commonParameters.h:42
AFopr
Definition: afopr.h:48
Parameters
Class for parameters.
Definition: parameters.h:46
QuarkNumberSusceptibility_Wilson::m_fprop
Fprop * m_fprop
Definition: quarkNumberSusceptibility_Wilson.h:47
QuarkNumberSusceptibility_Wilson::m_vl
Bridge::VerboseLevel m_vl
Definition: quarkNumberSusceptibility_Wilson.h:43
QuarkNumberSusceptibility_Wilson::m_Nnoise
int m_Nnoise
Definition: quarkNumberSusceptibility_Wilson.h:50
QuarkNumberSusceptibility_Wilson::m_fopr
Fopr * m_fopr
Definition: quarkNumberSusceptibility_Wilson.h:46
QuarkNumberSusceptibility_Wilson::set_parameter_verboselevel
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Definition: quarkNumberSusceptibility_Wilson.h:74
QuarkNumberSusceptibility_Wilson
Quark number susceptibility for the Wilson-type fermion.
Definition: quarkNumberSusceptibility_Wilson.h:37
QuarkNumberSusceptibility_Wilson::measure
double measure()
measure tr1 = Tr[D1*Sq], tr2 = Tr[D2*Sq], tr3 = Tr[D1*Sq*D1*Sq].
Definition: quarkNumberSusceptibility_Wilson.cpp:73
noiseVector_Z2.h
ParameterCheck::vl
Bridge::VerboseLevel vl
Definition: parameterCheck.cpp:18
QuarkNumberSusceptibility_Wilson::m_nv
NoiseVector * m_nv
Definition: quarkNumberSusceptibility_Wilson.h:48
NoiseVector
Base class for noise vector generator.
Definition: noiseVector.h:31
Fprop
Base class for fermion propagator class family.
Definition: fprop.h:34
QuarkNumberSusceptibility_Wilson::QuarkNumberSusceptibility_Wilson
QuarkNumberSusceptibility_Wilson(Fopr *fopr, Fprop *fprop, NoiseVector *nv, const Parameters &params)
Definition: quarkNumberSusceptibility_Wilson.h:57
QuarkNumberSusceptibility_Wilson::class_name
static const std::string class_name
Definition: quarkNumberSusceptibility_Wilson.h:40
Bridge::VerboseLevel
VerboseLevel
Definition: bridgeIO.h:42
QuarkNumberSusceptibility_Wilson::set_parameters
void set_parameters(const Parameters &params)
Definition: quarkNumberSusceptibility_Wilson.cpp:19
QuarkNumberSusceptibility_Wilson::operator=
QuarkNumberSusceptibility_Wilson & operator=(const QuarkNumberSusceptibility_Wilson &)
fprop.h
QuarkNumberSusceptibility_Wilson::get_parameters
void get_parameters(Parameters &params) const
Definition: quarkNumberSusceptibility_Wilson.cpp:43
Bridge::vout
BridgeIO vout
Definition: bridgeIO.cpp:512
QuarkNumberSusceptibility_Wilson::QuarkNumberSusceptibility_Wilson
QuarkNumberSusceptibility_Wilson(Fopr *fopr, Fprop *fprop, NoiseVector *nv)
Definition: quarkNumberSusceptibility_Wilson.h:53