1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 17:25:37 +01:00

Namespace

This commit is contained in:
paboyle 2018-01-14 23:29:53 +00:00
parent 229baf3aba
commit 493ea80208

View File

@ -25,16 +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 GRID_QCD_IMPR_STAG_FERMION_H #ifndef GRID_QCD_IMPR_STAG_FERMION_H
#define GRID_QCD_IMPR_STAG_FERMION_H #define GRID_QCD_IMPR_STAG_FERMION_H
namespace Grid { NAMESPACE_BEGIN(Grid);
namespace QCD {
class ImprovedStaggeredFermionStatic { class ImprovedStaggeredFermionStatic {
public: public:
static const std::vector<int> directions; static const std::vector<int> directions;
static const std::vector<int> displacements; static const std::vector<int> displacements;
static const int npoint = 16; static const int npoint = 16;
@ -42,7 +40,7 @@ class ImprovedStaggeredFermionStatic {
template <class Impl> template <class Impl>
class ImprovedStaggeredFermion : public StaggeredKernels<Impl>, public ImprovedStaggeredFermionStatic { class ImprovedStaggeredFermion : public StaggeredKernels<Impl>, public ImprovedStaggeredFermionStatic {
public: public:
INHERIT_IMPL_TYPES(Impl); INHERIT_IMPL_TYPES(Impl);
typedef StaggeredKernels<Impl> Kernels; typedef StaggeredKernels<Impl> Kernels;
@ -130,7 +128,7 @@ class ImprovedStaggeredFermion : public StaggeredKernels<Impl>, public ImprovedS
/////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////
// protected: // protected:
public: public:
// any other parameters of action ??? // any other parameters of action ???
RealD mass; RealD mass;
@ -178,6 +176,6 @@ class ImprovedStaggeredFermion : public StaggeredKernels<Impl>, public ImprovedS
typedef ImprovedStaggeredFermion<StaggeredImplF> ImprovedStaggeredFermionF; typedef ImprovedStaggeredFermion<StaggeredImplF> ImprovedStaggeredFermionF;
typedef ImprovedStaggeredFermion<StaggeredImplD> ImprovedStaggeredFermionD; typedef ImprovedStaggeredFermion<StaggeredImplD> ImprovedStaggeredFermionD;
} NAMESPACE_END(Grid);
}
#endif #endif