1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-11 14:40:46 +01:00

Namespace

This commit is contained in:
paboyle 2018-01-14 22:26:55 +00:00
parent e42de105c5
commit c36223055e

View File

@ -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 See the full license in the file "LICENSE" in the top level distribution
directory directory
*************************************************************************************/ *************************************************************************************/
/* END LEGAL */ /* END LEGAL */
#ifndef NERSC_CHECKPOINTER #ifndef NERSC_CHECKPOINTER
#define NERSC_CHECKPOINTER #define NERSC_CHECKPOINTER
@ -33,16 +33,15 @@ directory
#include <sstream> #include <sstream>
#include <string> #include <string>
namespace Grid { NAMESPACE_BEGIN(Grid);
namespace QCD {
// Only for Gauge fields // Only for Gauge fields
template <class Gimpl> template <class Gimpl>
class NerscHmcCheckpointer : public BaseHmcCheckpointer<Gimpl> { class NerscHmcCheckpointer : public BaseHmcCheckpointer<Gimpl> {
private: private:
CheckpointerParameters Params; CheckpointerParameters Params;
public: public:
INHERIT_GIMPL_TYPES(Gimpl); // only for gauge configurations INHERIT_GIMPL_TYPES(Gimpl); // only for gauge configurations
NerscHmcCheckpointer(const CheckpointerParameters &Params_) { initialize(Params_); } NerscHmcCheckpointer(const CheckpointerParameters &Params_) { initialize(Params_); }
@ -75,6 +74,6 @@ class NerscHmcCheckpointer : public BaseHmcCheckpointer<Gimpl> {
NerscIO::readConfiguration(U, header, config); NerscIO::readConfiguration(U, header, config);
}; };
}; };
}
} NAMESPACE_END(Grid);
#endif #endif