Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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  : m_vl(CommonParameters::Vlevel()),
59  m_fopr(fopr.get()), m_fprop(fprop.get()), m_nv(nv.get()) {}
60 
61  private:
62  // non-copyable
65 
66  public:
67  void set_parameters(const Parameters& params);
68  void set_parameters(const int Nnoise);
69 
71 
73  double measure();
74 };
75 #endif
BridgeIO vout
Definition: bridgeIO.cpp:503
QuarkNumberSusceptibility_Wilson(Fopr *fopr, Fprop *fprop, NoiseVector *nv)
Base class for fermion propagator class family.
Definition: fprop.h:30
QuarkNumberSusceptibility_Wilson & operator=(const QuarkNumberSusceptibility_Wilson &)
Class for parameters.
Definition: parameters.h:46
QuarkNumberSusceptibility_Wilson(unique_ptr< Fopr > &fopr, unique_ptr< Fprop > &fprop, unique_ptr< NoiseVector > &nv)
Quark number susceptibility for the Wilson-type fermion.
Common parameter class: provides parameters as singleton.
double measure()
measure tr1 = Tr[D1*Sq], tr2 = Tr[D2*Sq], tr3 = Tr[D1*Sq*D1*Sq].
Base class for noise vector generator.
Definition: noiseVector.h:31
Bridge::VerboseLevel vl
VerboseLevel
Definition: bridgeIO.h:42
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Base class of fermion operator family.
Definition: fopr.h:46