Bridge++  Version 1.4.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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"
20 
21 #include "IO/bridgeIO.h"
22 using Bridge::vout;
23 
24 
26 
40 class Smear_APE_spatial : public Smear
41 {
42  public:
43  static const std::string class_name;
44 
45  private:
46  int m_Ndim;
47  double m_rho;
49 
50  public:
53  : Smear(), m_Ndim(CommonParameters::Ndim()), m_proj(proj) {}
54 
56  : Smear(), m_Ndim(CommonParameters::Ndim()), m_proj(proj.get()) {}
57 
60 
62  void set_parameters(const Parameters& params);
63 
65  void set_parameters(const double rho);
66 
68  void smear(Field_G& Usmear, const Field_G& U);
69 
70  private:
71 
73  void staple(Field_G&, const Field_G&, const Field_G&,
74  int mu, int nu);
75 };
76 #endif
BridgeIO vout
Definition: bridgeIO.cpp:495
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:46
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
base class for smearing of link variables.
Definition: smear.h:36
int m_Ndim
spacetime dimension