diff --git a/lib/qcd/action/Actions.h b/lib/qcd/action/Actions.h index 2c902d84..0abec0ec 100644 --- a/lib/qcd/action/Actions.h +++ b/lib/qcd/action/Actions.h @@ -58,10 +58,10 @@ //////////////////////////////////////////// #include // 4d wilson like -//#include - #include // 5d base used by all 5d overlap types +//#include + #include // Cayley types #include #include diff --git a/lib/qcd/action/fermion/DomainWallFermion.h b/lib/qcd/action/fermion/DomainWallFermion.h index 4d088503..164101b0 100644 --- a/lib/qcd/action/fermion/DomainWallFermion.h +++ b/lib/qcd/action/fermion/DomainWallFermion.h @@ -22,7 +22,7 @@ namespace Grid { GridCartesian &FourDimGrid, GridRedBlackCartesian &FourDimRedBlackGrid, RealD _mass,RealD _M5,const ImplParams &p= ImplParams()) : - + CayleyFermion5D(_Umu, FiveDimGrid, FiveDimRedBlackGrid, diff --git a/lib/qcd/action/fermion/FermionOperator.h b/lib/qcd/action/fermion/FermionOperator.h index 31b6d8a9..e728909e 100644 --- a/lib/qcd/action/fermion/FermionOperator.h +++ b/lib/qcd/action/fermion/FermionOperator.h @@ -6,17 +6,10 @@ namespace Grid { namespace QCD { //////////////////////////////////////////////////////////////// - // Hardwire to four spinors, allow to select - // between gauge representation rank bc's, flavours etc. + // Allow to select between gauge representation rank bc's, flavours etc. // and single/double precision. //////////////////////////////////////////////////////////////// - - ////////////////////////////////////////////////////////////////////////////// - // Four component fermions - // Should type template the vector and gauge types - // Think about multiple representations - ////////////////////////////////////////////////////////////////////////////// template class FermionOperator : public CheckerBoardedSparseMatrixBase, public Impl { @@ -26,8 +19,6 @@ namespace Grid { FermionOperator(const ImplParams &p= ImplParams()) : Impl(p) {}; - public: - GridBase * Grid(void) { return FermionGrid(); }; // this is all the linalg routines need to know GridBase * RedBlackGrid(void) { return FermionRedBlackGrid(); }; diff --git a/lib/qcd/action/fermion/OverlapWilsonContfracZolotarevFermion.h b/lib/qcd/action/fermion/OverlapWilsonContfracZolotarevFermion.h index 7847df3f..b1968cfe 100644 --- a/lib/qcd/action/fermion/OverlapWilsonContfracZolotarevFermion.h +++ b/lib/qcd/action/fermion/OverlapWilsonContfracZolotarevFermion.h @@ -12,7 +12,6 @@ namespace Grid { { public: INHERIT_IMPL_TYPES(Impl); - public: virtual void Instantiatable(void){}; // Constructors diff --git a/lib/qcd/action/fermion/OverlapWilsonPartialFractionZolotarevFermion.h b/lib/qcd/action/fermion/OverlapWilsonPartialFractionZolotarevFermion.h index e80c9751..e6c9ef3b 100644 --- a/lib/qcd/action/fermion/OverlapWilsonPartialFractionZolotarevFermion.h +++ b/lib/qcd/action/fermion/OverlapWilsonPartialFractionZolotarevFermion.h @@ -12,7 +12,6 @@ namespace Grid { { public: INHERIT_IMPL_TYPES(Impl); - public: virtual void Instantiatable(void){}; // Constructors diff --git a/lib/qcd/action/fermion/PartialFractionFermion5D.h b/lib/qcd/action/fermion/PartialFractionFermion5D.h index d0f2718d..e1f0c7cd 100644 --- a/lib/qcd/action/fermion/PartialFractionFermion5D.h +++ b/lib/qcd/action/fermion/PartialFractionFermion5D.h @@ -10,7 +10,6 @@ namespace Grid { { public: INHERIT_IMPL_TYPES(Impl); - public: const int part_frac_chroma_convention=1; diff --git a/lib/qcd/action/fermion/ScaledShamirFermion.h b/lib/qcd/action/fermion/ScaledShamirFermion.h index 2225fd4b..dedd5e2f 100644 --- a/lib/qcd/action/fermion/ScaledShamirFermion.h +++ b/lib/qcd/action/fermion/ScaledShamirFermion.h @@ -12,7 +12,6 @@ namespace Grid { { public: INHERIT_IMPL_TYPES(Impl); - public: // Constructors ScaledShamirFermion(GaugeField &_Umu, diff --git a/lib/qcd/action/fermion/ShamirZolotarevFermion.h b/lib/qcd/action/fermion/ShamirZolotarevFermion.h index 34d6fd2b..64608d46 100644 --- a/lib/qcd/action/fermion/ShamirZolotarevFermion.h +++ b/lib/qcd/action/fermion/ShamirZolotarevFermion.h @@ -12,7 +12,6 @@ namespace Grid { { public: INHERIT_IMPL_TYPES(Impl); - public: // Constructors diff --git a/lib/qcd/action/fermion/WilsonFermion5D.h b/lib/qcd/action/fermion/WilsonFermion5D.h index ba84617c..b0d25309 100644 --- a/lib/qcd/action/fermion/WilsonFermion5D.h +++ b/lib/qcd/action/fermion/WilsonFermion5D.h @@ -28,10 +28,10 @@ namespace Grid { template class WilsonFermion5D : public WilsonKernels, public WilsonFermion5DStatic { + public: INHERIT_IMPL_TYPES(Impl); typedef WilsonKernels Kernels; - public: /////////////////////////////////////////////////////////////// // Implement the abstract base /////////////////////////////////////////////////////////////// diff --git a/lib/qcd/action/pseudofermion/TwoFlavourEvenOdd.h b/lib/qcd/action/pseudofermion/TwoFlavourEvenOdd.h index 3cbf6ffc..9ea2de69 100644 --- a/lib/qcd/action/pseudofermion/TwoFlavourEvenOdd.h +++ b/lib/qcd/action/pseudofermion/TwoFlavourEvenOdd.h @@ -115,6 +115,7 @@ namespace Grid{ class TwoFlavourEvenOddPseudoFermionAction : public Action { public: + INHERIT_IMPL_TYPES(Impl); private: @@ -236,6 +237,12 @@ namespace Grid{ // FermOp.MooeeInv(Y,X); // FermOp.MeeDeriv(tmp , Y, X,DaggerNo ); dSdU=tmp; // FermOp.MeeDeriv(tmp , X, Y,DaggerYes); dSdU=dSdU+tmp; + /* + FermOp.MooeeInvDag(PhiOdd,Y); + FermOp.MooeeInv(Y,X); + FermOp.MeeDeriv(tmp , Y, X,DaggerNo ); dSdU=tmp; + FermOp.MeeDeriv(tmp , X, Y,DaggerYes); dSdU=dSdU+tmp; + */ dSdU = Ta(dSdU);