mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-28 06:35:55 +01:00
Format emacs C++ mode
This commit is contained in:
parent
cfe6c6838f
commit
813af84ae8
@ -25,14 +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 HMC_RESOURCE_MANAGER_H
|
#ifndef HMC_RESOURCE_MANAGER_H
|
||||||
#define HMC_RESOURCE_MANAGER_H
|
#define HMC_RESOURCE_MANAGER_H
|
||||||
|
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
// One function per Checkpointer, use a macro to simplify
|
// One function per Checkpointer, use a macro to simplify
|
||||||
#define RegisterLoadCheckPointerFunction(NAME) \
|
#define RegisterLoadCheckPointerFunction(NAME) \
|
||||||
void Load##NAME##Checkpointer(const CheckpointerParameters& Params_) { \
|
void Load##NAME##Checkpointer(const CheckpointerParameters& Params_) { \
|
||||||
if (!have_CheckPointer) { \
|
if (!have_CheckPointer) { \
|
||||||
@ -84,7 +84,7 @@ class HMCResourceManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
HMCResourceManager() : have_RNG(false), have_CheckPointer(false) {}
|
HMCResourceManager() : have_RNG(false), have_CheckPointer(false) {}
|
||||||
|
|
||||||
template <class ReaderClass, class vector_type = vComplex >
|
template <class ReaderClass, class vector_type = vComplex >
|
||||||
@ -251,9 +251,9 @@ class HMCResourceManager {
|
|||||||
|
|
||||||
RegisterLoadCheckPointerFunction(Binary);
|
RegisterLoadCheckPointerFunction(Binary);
|
||||||
RegisterLoadCheckPointerFunction(Nersc);
|
RegisterLoadCheckPointerFunction(Nersc);
|
||||||
#ifdef HAVE_LIME
|
#ifdef HAVE_LIME
|
||||||
RegisterLoadCheckPointerFunction(ILDG);
|
RegisterLoadCheckPointerFunction(ILDG);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////
|
||||||
// Observables
|
// Observables
|
||||||
|
Loading…
x
Reference in New Issue
Block a user