2015-06-03 09:51:06 +01:00
|
|
|
#ifndef GRID_QCD_SCALED_SHAMIR_FERMION_H
|
|
|
|
#define GRID_QCD_SCALED_SHAMIR_FERMION_H
|
|
|
|
|
|
|
|
#include <Grid.h>
|
|
|
|
|
|
|
|
namespace Grid {
|
|
|
|
|
|
|
|
namespace QCD {
|
|
|
|
|
2015-08-10 20:47:44 +01:00
|
|
|
template<class Impl>
|
|
|
|
class ScaledShamirFermion : public MobiusFermion<Impl>
|
2015-06-03 09:51:06 +01:00
|
|
|
{
|
|
|
|
public:
|
2015-08-15 23:25:49 +01:00
|
|
|
INHERIT_IMPL_TYPES(Impl);
|
2015-06-03 09:51:06 +01:00
|
|
|
|
|
|
|
// Constructors
|
2015-08-10 20:47:44 +01:00
|
|
|
ScaledShamirFermion(GaugeField &_Umu,
|
2015-06-03 09:51:06 +01:00
|
|
|
GridCartesian &FiveDimGrid,
|
|
|
|
GridRedBlackCartesian &FiveDimRedBlackGrid,
|
|
|
|
GridCartesian &FourDimGrid,
|
|
|
|
GridRedBlackCartesian &FourDimRedBlackGrid,
|
|
|
|
RealD _mass,RealD _M5,
|
|
|
|
RealD scale) :
|
|
|
|
|
|
|
|
// b+c=scale, b-c = 1 <=> 2b = scale+1; 2c = scale-1
|
2015-08-10 20:47:44 +01:00
|
|
|
MobiusFermion<Impl>(_Umu,
|
2015-06-03 09:51:06 +01:00
|
|
|
FiveDimGrid,
|
|
|
|
FiveDimRedBlackGrid,
|
|
|
|
FourDimGrid,
|
|
|
|
FourDimRedBlackGrid,_mass,_M5,0.5*(scale+1.0),0.5*(scale-1.0))
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|