1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-27 14:15:55 +01:00

Namespace

This commit is contained in:
paboyle 2018-01-14 22:36:15 +00:00
parent 2f38fe8d45
commit fde2e07bf4

View File

@ -28,27 +28,24 @@ 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 */
//-------------------------------------------------------------------- //--------------------------------------------------------------------
/*! @file HMC.h /*! @file HMC.h
* @brief Classes for Hybrid Monte Carlo update * @brief Classes for Hybrid Monte Carlo update
* *
* @author Guido Cossu * @author Guido Cossu
*/ */
//-------------------------------------------------------------------- //--------------------------------------------------------------------
#ifndef HMC_INCLUDED #ifndef HMC_INCLUDED
#define HMC_INCLUDED #define HMC_INCLUDED
#include <string> #include <string>
#include <list> #include <list>
#include <Grid/qcd/hmc/integrators/Integrator.h> #include <Grid/qcd/hmc/integrators/Integrator.h>
#include <Grid/qcd/hmc/integrators/Integrator_algorithm.h> #include <Grid/qcd/hmc/integrators/Integrator_algorithm.h>
namespace Grid { NAMESPACE_BEGIN(Grid);
namespace QCD {
struct HMCparameters: Serializable { struct HMCparameters: Serializable {
GRID_SERIALIZABLE_CLASS_MEMBERS(HMCparameters, GRID_SERIALIZABLE_CLASS_MEMBERS(HMCparameters,
@ -94,7 +91,7 @@ struct HMCparameters: Serializable {
template <class IntegratorType> template <class IntegratorType>
class HybridMonteCarlo { class HybridMonteCarlo {
private: private:
const HMCparameters Params; const HMCparameters Params;
typedef typename IntegratorType::Field Field; typedef typename IntegratorType::Field Field;
@ -179,7 +176,7 @@ class HybridMonteCarlo {
public: public:
///////////////////////////////////////// /////////////////////////////////////////
// Constructor // Constructor
///////////////////////////////////////// /////////////////////////////////////////
@ -238,10 +235,7 @@ class HybridMonteCarlo {
}; };
NAMESPACE_END(Grid);
} // QCD
} // Grid
// april 11 2017 merge, Guido, commenting out // april 11 2017 merge, Guido, commenting out
//#include <Grid/parallelIO/NerscIO.h> //#include <Grid/parallelIO/NerscIO.h>