Bridge++  Version 1.4.4
 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"
19 
20 #include "IO/bridgeIO.h"
21 using Bridge::vout;
22 
24 
35 class Smear_APE_SF : public Smear
36 {
37  public:
38  static const std::string class_name;
39 
40  private:
41  int m_Ndim;
42  std::valarray<double> m_rho;
44 
46  double m_phi[3];
48  double m_phipr[3];
49 
50  public:
52  : Smear(),
53  m_Ndim(CommonParameters::Ndim()), m_rho(0.0, m_Ndim * m_Ndim),
54  m_proj(proj) {}
55 
57  : Smear(),
58  m_Ndim(CommonParameters::Ndim()), m_rho(0.0, m_Ndim * m_Ndim),
59  m_proj(proj.get()) {}
60 
62 
63  void set_parameters(const Parameters& params);
64  void set_parameters(const double rho1, double *phi, double *phipr);
65  void set_parameters(const std::vector<double>& rho, double *phi, double *phipr);
66 
67  void smear(Field_G& Usmear, const Field_G& U);
68 
69  // void staple(Field_G&, const Field_G&, const Field_G&,
70  // int mu, int nu);
71 };
72 #endif
BridgeIO vout
Definition: bridgeIO.cpp:495
Projection * m_proj
Definition: smear_APE_SF.h:43
APE type smearing of link variables.
Definition: smear_APE_SF.h:35
Class for parameters.
Definition: parameters.h:46
double m_phi[3]
SF boundary condition at t=0.
Definition: smear_APE_SF.h:46
static const std::string class_name
Definition: smear_APE_SF.h:38
Smear_APE_SF(Projection *proj)
Definition: smear_APE_SF.h:51
SU(N) gauge field.
Definition: field_G.h:38
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:48
std::valarray< double > m_rho
Definition: smear_APE_SF.h:42
Smear_APE_SF(unique_ptr< Projection > &proj)
Definition: smear_APE_SF.h:56
base class for smearing of link variables.
Definition: smear.h:36
void smear(Field_G &Usmear, const Field_G &U)