Bridge++  Ver. 1.2.x
 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"
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 
45 class Smear_APE_spatial : public Smear
46 {
47  public:
48  static const std::string class_name;
49 
50  private:
51  int m_Ndim;
52  double m_rho;
54 
55  public:
58  : Smear(), m_Ndim(CommonParameters::Ndim()), m_proj(proj) {}
59 
62 
64  void set_parameters(const Parameters& params);
65 
67  void set_parameters(const double rho);
68 
70  void smear(Field_G& Usmear, const Field_G& U);
71 
72  private:
73 
75  void staple(Field_G&, const Field_G&, const Field_G&,
76  int mu, int nu);
77 };
78 #endif
BridgeIO vout
Definition: bridgeIO.cpp:207
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:40
static const std::string class_name
SU(N) gauge field.
Definition: field_G.h:36
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:33
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