mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-28 06:35:55 +01:00
Namespace
This commit is contained in:
parent
e61189db3f
commit
df29cc19ab
@ -25,18 +25,17 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
See the full license in the file "LICENSE" in the top level distribution
|
See the full license in the file "LICENSE" in the top level distribution
|
||||||
directory
|
directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
|
|
||||||
#ifndef HMC_PLAQUETTE_H
|
#ifndef HMC_PLAQUETTE_H
|
||||||
#define HMC_PLAQUETTE_H
|
#define HMC_PLAQUETTE_H
|
||||||
|
|
||||||
namespace Grid {
|
NAMESPACE_BEGIN(Grid);
|
||||||
namespace QCD {
|
|
||||||
|
|
||||||
// this is only defined for a gauge theory
|
// this is only defined for a gauge theory
|
||||||
template <class Impl>
|
template <class Impl>
|
||||||
class PlaquetteLogger : public HmcObservable<typename Impl::Field> {
|
class PlaquetteLogger : public HmcObservable<typename Impl::Field> {
|
||||||
public:
|
public:
|
||||||
// here forces the Impl to be of gauge fields
|
// here forces the Impl to be of gauge fields
|
||||||
// if not the compiler will complain
|
// if not the compiler will complain
|
||||||
INHERIT_GIMPL_TYPES(Impl);
|
INHERIT_GIMPL_TYPES(Impl);
|
||||||
@ -62,7 +61,6 @@ class PlaquetteLogger : public HmcObservable<typename Impl::Field> {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace QCD
|
NAMESPACE_END(Grid);
|
||||||
} // namespace Grid
|
|
||||||
|
|
||||||
#endif // HMC_PLAQUETTE_H
|
#endif // HMC_PLAQUETTE_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user