Bridge++  Ver. 1.3.x
smear_APE_spatial.h
Go to the documentation of this file.
1 
15 #ifndef SMEAR_APE_SPATIAL_INCLUDED
16 #define SMEAR_APE_SPATIAL_INCLUDED
17 
18 #include "smear.h"
19 #include "staples.h"
20 
21 #include "bridgeIO.h"
22 using Bridge::vout;
23 
24 //- parameters class
27 {
28  public:
30 };
31 //- end
32 
34 
48 class Smear_APE_spatial : public Smear
49 {
50  public:
51  static const std::string class_name;
52 
53  private:
54  int m_Ndim;
55  double m_rho;
57 
58  public:
61  : Smear(), m_Ndim(CommonParameters::Ndim()), m_proj(proj) {}
62 
64  : Smear(), m_Ndim(CommonParameters::Ndim()), m_proj(proj.get()) {}
65 
68 
70  void set_parameters(const Parameters& params);
71 
73  void set_parameters(const double rho);
74 
76  void smear(Field_G& Usmear, const Field_G& U);
77 
78  private:
79 
81  void staple(Field_G&, const Field_G&, const Field_G&,
82  int mu, int nu);
83 };
84 #endif
BridgeIO vout
Definition: bridgeIO.cpp:278
Projection * m_proj
projector to group element.
APE type smearing of spatial link variables.
~Smear_APE_spatial()
Deconstructor.
Smear_APE_spatial(Projection *proj)
Constructor requires a pointer to Projection object.
void smear(Field_G &Usmear, const Field_G &U)
Smearing of a given gauge field.
Class for parameters.
Definition: parameters.h:38
static const std::string class_name
Smear_APE_spatial(unique_ptr< Projection > &proj)
SU(N) gauge field.
Definition: field_G.h:38
void set_parameters(const Parameters &params)
Setting parameters with Parameters object.
void staple(Field_G &, const Field_G &, const Field_G &, int mu, int nu)
Staple construction.
Common parameter class: provides parameters as singleton.
base class for projection operator into gauge group.
Definition: projection.h:31
double m_rho
smearing parameter
Parameters class for APE_spatial type link smearing.
base class for smearing of link variables.
Definition: smear.h:36
int m_Ndim
spacetime dimension