1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Namespace, format

This commit is contained in:
paboyle 2018-01-14 23:39:57 +00:00
parent 83c5f05094
commit 97019d2997

View File

@ -1,4 +1,4 @@
/************************************************************************************* /*************************************************************************************
Grid physics library, www.github.com/paboyle/Grid Grid physics library, www.github.com/paboyle/Grid
@ -24,23 +24,21 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
See the full license in the file "LICENSE" in the top level distribution directory See the full license in the file "LICENSE" in the top level distribution directory
*************************************************************************************/ *************************************************************************************/
/* END LEGAL */ /* END LEGAL */
#ifndef GRID_QCD_CONTINUED_FRACTION_H #ifndef GRID_QCD_CONTINUED_FRACTION_H
#define GRID_QCD_CONTINUED_FRACTION_H #define GRID_QCD_CONTINUED_FRACTION_H
#include <Grid/qcd/action/fermion/WilsonFermion5D.h> #include <Grid/qcd/action/fermion/WilsonFermion5D.h>
namespace Grid { NAMESPACE_BEGIN(Grid);
namespace QCD { template<class Impl>
class ContinuedFractionFermion5D : public WilsonFermion5D<Impl>
template<class Impl> {
class ContinuedFractionFermion5D : public WilsonFermion5D<Impl> public:
{
public:
INHERIT_IMPL_TYPES(Impl); INHERIT_IMPL_TYPES(Impl);
public: public:
// override multiply // override multiply
virtual RealD M (const FermionField &in, FermionField &out); virtual RealD M (const FermionField &in, FermionField &out);
@ -73,7 +71,7 @@ namespace Grid {
GridRedBlackCartesian &FourDimRedBlackGrid, GridRedBlackCartesian &FourDimRedBlackGrid,
RealD _mass,RealD M5,const ImplParams &p= ImplParams()); RealD _mass,RealD M5,const ImplParams &p= ImplParams());
protected: protected:
void SetCoefficientsTanh(Approx::zolotarev_data *zdata,RealD scale); void SetCoefficientsTanh(Approx::zolotarev_data *zdata,RealD scale);
void SetCoefficientsZolotarev(RealD zolo_hi,Approx::zolotarev_data *zdata);; void SetCoefficientsZolotarev(RealD zolo_hi,Approx::zolotarev_data *zdata);;
@ -90,10 +88,9 @@ namespace Grid {
std::vector<double> See; std::vector<double> See;
std::vector<double> Aee; std::vector<double> Aee;
}; };
} NAMESPACE_END(Grid);
}
#endif #endif