From 9aa34dc8030f2399792641d4e695de852e572d2f Mon Sep 17 00:00:00 2001 From: paboyle Date: Sun, 14 Jan 2018 22:01:17 +0000 Subject: [PATCH] Namespace --- lib/qcd/utils/GaugeFix.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/qcd/utils/GaugeFix.h b/lib/qcd/utils/GaugeFix.h index c4ea31aa..041a7b6f 100644 --- a/lib/qcd/utils/GaugeFix.h +++ b/lib/qcd/utils/GaugeFix.h @@ -1,4 +1,4 @@ - /************************************************************************************* +/************************************************************************************* grid` physics library, www.github.com/paboyle/Grid @@ -22,18 +22,18 @@ Author: Peter Boyle 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. See the full license in the file "LICENSE" in the top level distribution directory - *************************************************************************************/ - /* END LEGAL */ +*************************************************************************************/ +/* END LEGAL */ //#include #ifndef GRID_QCD_GAUGE_FIX_H #define GRID_QCD_GAUGE_FIX_H -namespace Grid { -namespace QCD { + +NAMESPACE_BEGIN(Grid); template class FourierAcceleratedGaugeFixer : public Gimpl { - public: +public: INHERIT_GIMPL_TYPES(Gimpl); typedef typename Gimpl::GaugeLinkField GaugeMat; @@ -60,7 +60,7 @@ class FourierAcceleratedGaugeFixer : public Gimpl { Real trG; std::vector U(Nd,grid); - GaugeMat dmuAmu(grid); + GaugeMat dmuAmu(grid); for(int i=0;i(Umu,mu); @@ -154,8 +154,8 @@ class FourierAcceleratedGaugeFixer : public Gimpl { Fp = psqMax*one/psq; /* - static int once; - if ( once == 0 ) { + static int once; + if ( once == 0 ) { std::cout << " Fp " << Fp <