mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-28 06:35:55 +01:00
Namespace
This commit is contained in:
parent
7631ed9c56
commit
2c2da60cc2
@ -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
|
See the full license in the file "LICENSE" in the top level distribution
|
||||||
directory
|
directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#ifndef BASE_CHECKPOINTER
|
#ifndef BASE_CHECKPOINTER
|
||||||
#define BASE_CHECKPOINTER
|
#define BASE_CHECKPOINTER
|
||||||
|
|
||||||
namespace Grid {
|
NAMESPACE_BEGIN(Grid);
|
||||||
namespace QCD {
|
|
||||||
|
|
||||||
class CheckpointerParameters : Serializable {
|
class CheckpointerParameters : Serializable {
|
||||||
public:
|
public:
|
||||||
GRID_SERIALIZABLE_CLASS_MEMBERS(CheckpointerParameters,
|
GRID_SERIALIZABLE_CLASS_MEMBERS(CheckpointerParameters,
|
||||||
std::string, config_prefix,
|
std::string, config_prefix,
|
||||||
std::string, rng_prefix,
|
std::string, rng_prefix,
|
||||||
@ -60,7 +59,7 @@ class CheckpointerParameters : Serializable {
|
|||||||
// Base class for checkpointers
|
// Base class for checkpointers
|
||||||
template <class Impl>
|
template <class Impl>
|
||||||
class BaseHmcCheckpointer : public HmcObservable<typename Impl::Field> {
|
class BaseHmcCheckpointer : public HmcObservable<typename Impl::Field> {
|
||||||
public:
|
public:
|
||||||
void build_filenames(int traj, CheckpointerParameters &Params,
|
void build_filenames(int traj, CheckpointerParameters &Params,
|
||||||
std::string &conf_file, std::string &rng_file) {
|
std::string &conf_file, std::string &rng_file) {
|
||||||
{
|
{
|
||||||
@ -84,6 +83,7 @@ class BaseHmcCheckpointer : public HmcObservable<typename Impl::Field> {
|
|||||||
|
|
||||||
}; // class BaseHmcCheckpointer
|
}; // class BaseHmcCheckpointer
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
}
|
|
||||||
}
|
NAMESPACE_END(Grid);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user