Bridge++  Ver. 1.3.x
smear_APE_SF.h
Go to the documentation of this file.
1 
14 #ifndef SMEAR_APE_SF_INCLUDED
15 #define SMEAR_APE_SF_INCLUDED
16 
17 #include "smear.h"
18 #include "staples_SF.h"
19 
20 #include "bridgeIO.h"
21 using Bridge::vout;
22 
24 
34 //- parameters class
35 class Parameters_Smear_APE_SF : virtual public Parameters
36 {
37  public:
39 };
40 //- end
41 
42 class Smear_APE_SF : public Smear
43 {
44  public:
45  static const std::string class_name;
46 
47  private:
48  int m_Ndim;
49  std::valarray<double> m_rho;
51 
53  double m_phi[3];
55  double m_phipr[3];
56 
57  public:
59  : Smear(),
60  m_Ndim(CommonParameters::Ndim()), m_rho(0.0, m_Ndim * m_Ndim),
61  m_proj(proj) {}
62 
64  : Smear(),
65  m_Ndim(CommonParameters::Ndim()), m_rho(0.0, m_Ndim * m_Ndim),
66  m_proj(proj.get()) {}
67 
69 
70  void set_parameters(const Parameters& params);
71  void set_parameters(const double rho1, double *phi, double *phipr);
72  void set_parameters(const std::vector<double>& rho, double *phi, double *phipr);
73 
74  void smear(Field_G& Usmear, const Field_G& U);
75 
76  // void staple(Field_G&, const Field_G&, const Field_G&,
77  // int mu, int nu);
78 };
79 #endif
BridgeIO vout
Definition: bridgeIO.cpp:278
Projection * m_proj
Definition: smear_APE_SF.h:50
Class for parameters.
Definition: parameters.h:38
double m_phi[3]
SF boundary condition at t=0.
Definition: smear_APE_SF.h:53
static const std::string class_name
Definition: smear_APE_SF.h:45
Smear_APE_SF(Projection *proj)
Definition: smear_APE_SF.h:58
SU(N) gauge field.
Definition: field_G.h:38
APE type smearing of link variables.
Definition: smear_APE_SF.h:35
Common parameter class: provides parameters as singleton.
base class for projection operator into gauge group.
Definition: projection.h:31
void set_parameters(const Parameters &params)
double m_phipr[3]
SF boundary condition at t=Nt.
Definition: smear_APE_SF.h:55
std::valarray< double > m_rho
Definition: smear_APE_SF.h:49
Smear_APE_SF(unique_ptr< Projection > &proj)
Definition: smear_APE_SF.h:63
base class for smearing of link variables.
Definition: smear.h:36
void smear(Field_G &Usmear, const Field_G &U)