1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-16 06:47:06 +01:00

Namespace

This commit is contained in:
paboyle
2018-01-14 22:11:03 +00:00
parent 1591d391b9
commit e2c39945b3

View File

@ -6,12 +6,10 @@
#ifndef GAUGE_CONFIG_ #ifndef GAUGE_CONFIG_
#define GAUGE_CONFIG_ #define GAUGE_CONFIG_
namespace Grid { NAMESPACE_BEGIN(Grid);
namespace QCD { //trivial class for no smearing
template< class Impl >
//trivial class for no smearing
template< class Impl >
class NoSmearing { class NoSmearing {
public: public:
INHERIT_FIELD_TYPES(Impl); INHERIT_FIELD_TYPES(Impl);
@ -45,10 +43,10 @@ public:
*/ */
template <class Gimpl> template <class Gimpl>
class SmearedConfiguration { class SmearedConfiguration {
public: public:
INHERIT_GIMPL_TYPES(Gimpl); INHERIT_GIMPL_TYPES(Gimpl);
private: private:
const unsigned int smearingLevels; const unsigned int smearingLevels;
Smear_Stout<Gimpl> StoutSmearing; Smear_Stout<Gimpl> StoutSmearing;
std::vector<GaugeField> SmearedSet; std::vector<GaugeField> SmearedSet;
@ -206,7 +204,7 @@ class SmearedConfiguration {
} }
//==================================================================== //====================================================================
public: public:
GaugeField* GaugeField*
ThinLinks; /*!< @brief Pointer to the thin ThinLinks; /*!< @brief Pointer to the thin
links configuration */ links configuration */
@ -280,7 +278,7 @@ class SmearedConfiguration {
} }
} }
}; };
}
} NAMESPACE_END(Grid);
#endif #endif