1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-27 22:25:56 +01:00

Namespace

This commit is contained in:
paboyle 2018-01-14 22:17:43 +00:00
parent 361ce948c3
commit e61189db3f

View File

@ -25,13 +25,12 @@ 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_TOP_CHARGE_H #ifndef HMC_TOP_CHARGE_H
#define HMC_TOP_CHARGE_H #define HMC_TOP_CHARGE_H
namespace Grid { NAMESPACE_BEGIN(Grid);
namespace QCD {
struct TopologySmearingParameters : Serializable { struct TopologySmearingParameters : Serializable {
GRID_SERIALIZABLE_CLASS_MEMBERS(TopologySmearingParameters, GRID_SERIALIZABLE_CLASS_MEMBERS(TopologySmearingParameters,
@ -72,7 +71,7 @@ template <class Impl>
class TopologicalCharge : public HmcObservable<typename Impl::Field> { class TopologicalCharge : public HmcObservable<typename Impl::Field> {
TopologyObsParameters Pars; TopologyObsParameters Pars;
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);
@ -116,7 +115,7 @@ class TopologicalCharge : public HmcObservable<typename Impl::Field> {
} }
}; };
}
} NAMESPACE_END(Grid);
#endif // HMC_TOP_CHARGE_H #endif // HMC_TOP_CHARGE_H