mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-27 22:25:56 +01:00
Namespace
This commit is contained in:
parent
f4c06ed8c0
commit
1591d391b9
@ -5,16 +5,15 @@
|
|||||||
#ifndef STOUT_SMEAR_
|
#ifndef STOUT_SMEAR_
|
||||||
#define STOUT_SMEAR_
|
#define STOUT_SMEAR_
|
||||||
|
|
||||||
namespace Grid {
|
NAMESPACE_BEGIN(Grid);
|
||||||
namespace QCD {
|
|
||||||
|
|
||||||
/*! @brief Stout smearing of link variable. */
|
/*! @brief Stout smearing of link variable. */
|
||||||
template <class Gimpl>
|
template <class Gimpl>
|
||||||
class Smear_Stout : public Smear<Gimpl> {
|
class Smear_Stout : public Smear<Gimpl> {
|
||||||
private:
|
private:
|
||||||
const Smear<Gimpl>* SmearBase;
|
const Smear<Gimpl>* SmearBase;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
INHERIT_GIMPL_TYPES(Gimpl)
|
INHERIT_GIMPL_TYPES(Gimpl)
|
||||||
|
|
||||||
Smear_Stout(Smear<Gimpl>* base) : SmearBase(base) {
|
Smear_Stout(Smear<Gimpl>* base) : SmearBase(base) {
|
||||||
@ -154,7 +153,7 @@ class Smear_Stout : public Smear<Gimpl> {
|
|||||||
return cos(w) / (w * w) - sin(w) / (w * w * w);
|
return cos(w) / (w * w) - sin(w) / (w * w * w);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
|
||||||
}
|
NAMESPACE_END(Grid);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user