Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
32 //- parameters class
33 class Parameters_Smear_APE_SF : virtual public Parameters
34 {
35  public:
37 };
38 //- end
39 
40 class Smear_APE_SF : public Smear
41 {
42  private:
43  int m_Ndim;
44  std::valarray<double> m_rho;
46 
48  double m_phi[3];
50  double m_phipr[3];
51 
52  public:
54  : Smear(),
55  m_Ndim(CommonParameters::Ndim()), m_rho(0.0, m_Ndim * m_Ndim),
56  m_proj(proj) {}
57 
59 
60  void set_parameters(const Parameters& params);
61  void set_parameters(const double rho1, double *phi, double *phipr);
62  void set_parameters(const std::valarray<double>& rho, double *phi, double *phipr);
63 
64  void smear(Field_G& Usmear, const Field_G& U);
65 
66  // void staple(Field_G&, const Field_G&, const Field_G&,
67  // int mu, int nu);
68 };
69 #endif