mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-27 22:25:56 +01:00
Namespace, indent
This commit is contained in:
parent
044a292281
commit
e5535f4d72
@ -26,26 +26,25 @@ 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
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#ifndef GRID_QCD_ABSTRACT_EOFA_FERMION_H
|
#ifndef GRID_QCD_ABSTRACT_EOFA_FERMION_H
|
||||||
#define GRID_QCD_ABSTRACT_EOFA_FERMION_H
|
#define GRID_QCD_ABSTRACT_EOFA_FERMION_H
|
||||||
|
|
||||||
#include <Grid/qcd/action/fermion/CayleyFermion5D.h>
|
#include <Grid/qcd/action/fermion/CayleyFermion5D.h>
|
||||||
|
|
||||||
namespace Grid {
|
NAMESPACE_BEGIN(Grid);
|
||||||
namespace QCD {
|
|
||||||
|
|
||||||
// DJM: Abstract base class for EOFA fermion types.
|
// DJM: Abstract base class for EOFA fermion types.
|
||||||
// Defines layout of additional EOFA-specific parameters and operators.
|
// Defines layout of additional EOFA-specific parameters and operators.
|
||||||
// Use to construct EOFA pseudofermion actions that are agnostic to
|
// Use to construct EOFA pseudofermion actions that are agnostic to
|
||||||
// Shamir / Mobius / etc., and ensure that no one can construct EOFA
|
// Shamir / Mobius / etc., and ensure that no one can construct EOFA
|
||||||
// pseudofermion action with non-EOFA fermion type.
|
// pseudofermion action with non-EOFA fermion type.
|
||||||
template<class Impl>
|
template<class Impl>
|
||||||
class AbstractEOFAFermion : public CayleyFermion5D<Impl> {
|
class AbstractEOFAFermion : public CayleyFermion5D<Impl> {
|
||||||
public:
|
public:
|
||||||
INHERIT_IMPL_TYPES(Impl);
|
INHERIT_IMPL_TYPES(Impl);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Fermion operator: D(mq1) + shift*\gamma_{5}*R_{5}*\Delta_{\pm}(mq2,mq3)*P_{\pm}
|
// Fermion operator: D(mq1) + shift*\gamma_{5}*R_{5}*\Delta_{\pm}(mq2,mq3)*P_{\pm}
|
||||||
RealD mq1;
|
RealD mq1;
|
||||||
RealD mq2;
|
RealD mq2;
|
||||||
@ -94,7 +93,8 @@ namespace QCD {
|
|||||||
( std::pow(this->alpha+1.0,Ls) + _mq2*std::pow(this->alpha-1.0,Ls) ) /
|
( std::pow(this->alpha+1.0,Ls) + _mq2*std::pow(this->alpha-1.0,Ls) ) /
|
||||||
( std::pow(this->alpha+1.0,Ls) + _mq3*std::pow(this->alpha-1.0,Ls) );
|
( std::pow(this->alpha+1.0,Ls) + _mq3*std::pow(this->alpha-1.0,Ls) );
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}}
|
|
||||||
|
NAMESPACE_END(Grid);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user