1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-04 19:25:56 +01:00

Namespace

This commit is contained in:
paboyle 2018-01-14 23:01:07 +00:00
parent a97ad1a51d
commit a935ef7b39
3 changed files with 6 additions and 10 deletions

View File

@ -30,8 +30,7 @@ directory
/* END LEGAL */
#include <Grid/qcd/action/fermion/FermionCore.h>
namespace Grid {
namespace QCD {
NAMESPACE_BEGIN(Grid);
int WilsonKernelsStatic::Opt = WilsonKernelsStatic::OptGeneric;
int WilsonKernelsStatic::Comms = WilsonKernelsStatic::CommsAndCompute;
@ -451,5 +450,5 @@ FermOpTemplateInstantiate(WilsonKernels);
AdjointFermOpTemplateInstantiate(WilsonKernels);
TwoIndexFermOpTemplateInstantiate(WilsonKernels);
}}
NAMESPACE_END(Grid);

View File

@ -32,9 +32,7 @@ Author: Guido Cossu <guido.cossu@ed.ac.uk>
#include <Grid/qcd/action/fermion/FermionCore.h>
namespace Grid {
namespace QCD {
NAMESPACE_BEGIN(Grid);
///////////////////////////////////////////////////////////
// Default to no assembler implementation
@ -123,5 +121,5 @@ INSTANTIATE_ASM(DomainWallVec5dImplDF);
INSTANTIATE_ASM(ZDomainWallVec5dImplFH);
INSTANTIATE_ASM(ZDomainWallVec5dImplDF);
}}
NAMESPACE_END(Grid);

View File

@ -571,8 +571,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
#define Chimu_31 UChi_11
#define Chimu_32 UChi_12
namespace Grid {
namespace QCD {
NAMESPACE_BEGIN(Grid);
template<class Impl> void
WilsonKernels<Impl>::HandDhopSite(StencilImpl &st,LebesgueOrder &lo,DoubledGaugeField &U,SiteHalfSpinor *buf,
@ -947,4 +946,4 @@ INSTANTIATE_THEM(DomainWallVec5dImplDF);
INSTANTIATE_THEM(ZDomainWallVec5dImplFH);
INSTANTIATE_THEM(ZDomainWallVec5dImplDF);
}}
NAMESPACE_END(Grid);