1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

Namespace

This commit is contained in:
paboyle 2018-01-14 22:30:09 +00:00
parent 65669b116e
commit 7631ed9c56

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 BINARY_CHECKPOINTER #ifndef BINARY_CHECKPOINTER
#define BINARY_CHECKPOINTER #define BINARY_CHECKPOINTER
@ -33,16 +33,15 @@ directory
#include <sstream> #include <sstream>
#include <string> #include <string>
namespace Grid { NAMESPACE_BEGIN(Grid);
namespace QCD {
// Simple checkpointer, only binary file // Simple checkpointer, only binary file
template <class Impl> template <class Impl>
class BinaryHmcCheckpointer : public BaseHmcCheckpointer<Impl> { class BinaryHmcCheckpointer : public BaseHmcCheckpointer<Impl> {
private: private:
CheckpointerParameters Params; CheckpointerParameters Params;
public: public:
INHERIT_FIELD_TYPES(Impl); // Gets the Field type, a Lattice object INHERIT_FIELD_TYPES(Impl); // Gets the Field type, a Lattice object
// Extract types from the Field // Extract types from the Field
@ -108,6 +107,6 @@ class BinaryHmcCheckpointer : public BaseHmcCheckpointer<Impl> {
<< std::dec << std::endl; << std::dec << std::endl;
}; };
}; };
}
} NAMESPACE_END(Grid);
#endif #endif