1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-11 06:30:45 +01:00

Namespace

This commit is contained in:
paboyle 2018-01-14 22:30:54 +00:00
parent 7631ed9c56
commit 2c2da60cc2

View File

@ -25,15 +25,14 @@ 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 BASE_CHECKPOINTER
#define BASE_CHECKPOINTER
namespace Grid {
namespace QCD {
NAMESPACE_BEGIN(Grid);
class CheckpointerParameters : Serializable {
public:
public:
GRID_SERIALIZABLE_CLASS_MEMBERS(CheckpointerParameters,
std::string, config_prefix,
std::string, rng_prefix,
@ -60,7 +59,7 @@ class CheckpointerParameters : Serializable {
// Base class for checkpointers
template <class Impl>
class BaseHmcCheckpointer : public HmcObservable<typename Impl::Field> {
public:
public:
void build_filenames(int traj, CheckpointerParameters &Params,
std::string &conf_file, std::string &rng_file) {
{
@ -84,6 +83,7 @@ class BaseHmcCheckpointer : public HmcObservable<typename Impl::Field> {
}; // class BaseHmcCheckpointer
///////////////////////////////////////////////////////////////////////////////
}
}
NAMESPACE_END(Grid);
#endif