From 8bf78846ee336ca293227870b99a0b023cbd20f3 Mon Sep 17 00:00:00 2001 From: paboyle Date: Sun, 14 Jan 2018 22:02:09 +0000 Subject: [PATCH] Namespace --- lib/qcd/utils/CovariantLaplacian.h | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/lib/qcd/utils/CovariantLaplacian.h b/lib/qcd/utils/CovariantLaplacian.h index 0c99b03e..6d026013 100644 --- a/lib/qcd/utils/CovariantLaplacian.h +++ b/lib/qcd/utils/CovariantLaplacian.h @@ -25,13 +25,12 @@ 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 directory *************************************************************************************/ -/* END LEGAL */ + /* END LEGAL */ #ifndef COVARIANT_LAPLACIAN_H #define COVARIANT_LAPLACIAN_H -namespace Grid { -namespace QCD { +NAMESPACE_BEGIN(Grid); struct LaplacianParams : Serializable { GRID_SERIALIZABLE_CLASS_MEMBERS(LaplacianParams, @@ -80,19 +79,19 @@ class LaplacianAdjointField: public Metric { MultiShiftFunction PowerHalf; MultiShiftFunction PowerInvHalf; - public: +public: INHERIT_GIMPL_TYPES(Impl); LaplacianAdjointField(GridBase* grid, OperatorFunction& S, LaplacianParams& p, const RealD k = 1.0) - : U(Nd, grid), Solver(S), param(p), kappa(k){ - AlgRemez remez(param.lo,param.hi,param.precision); - std::cout< { - private: +private: RealD kappa; std::vector U; }; -} -} +NAMESPACE_END(Grid); #endif