From c36223055ecb85f33bf1184e7da8e4215e1d7e30 Mon Sep 17 00:00:00 2001 From: paboyle Date: Sun, 14 Jan 2018 22:26:55 +0000 Subject: [PATCH] Namespace --- lib/qcd/hmc/checkpointers/NerscCheckpointer.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/qcd/hmc/checkpointers/NerscCheckpointer.h b/lib/qcd/hmc/checkpointers/NerscCheckpointer.h index a4b1b480..6004e5e8 100644 --- a/lib/qcd/hmc/checkpointers/NerscCheckpointer.h +++ b/lib/qcd/hmc/checkpointers/NerscCheckpointer.h @@ -25,7 +25,7 @@ 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 directory *************************************************************************************/ -/* END LEGAL */ + /* END LEGAL */ #ifndef NERSC_CHECKPOINTER #define NERSC_CHECKPOINTER @@ -33,16 +33,15 @@ directory #include #include -namespace Grid { -namespace QCD { +NAMESPACE_BEGIN(Grid); // Only for Gauge fields template class NerscHmcCheckpointer : public BaseHmcCheckpointer { - private: +private: CheckpointerParameters Params; - public: +public: INHERIT_GIMPL_TYPES(Gimpl); // only for gauge configurations NerscHmcCheckpointer(const CheckpointerParameters &Params_) { initialize(Params_); } @@ -75,6 +74,6 @@ class NerscHmcCheckpointer : public BaseHmcCheckpointer { NerscIO::readConfiguration(U, header, config); }; }; -} -} + +NAMESPACE_END(Grid); #endif