mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-28 14:45:56 +01:00
Namespace, format improved
This commit is contained in:
parent
7747b95430
commit
bf629dddce
@ -1,4 +1,4 @@
|
|||||||
/*************************************************************************************
|
/*************************************************************************************
|
||||||
|
|
||||||
Grid physics library, www.github.com/paboyle/Grid
|
Grid physics library, www.github.com/paboyle/Grid
|
||||||
|
|
||||||
@ -25,24 +25,22 @@ Author: Peter Boyle <peterboyle@Peters-MacBook-Pro-2.local>
|
|||||||
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_FERMION_OPERATOR_H
|
#ifndef GRID_QCD_FERMION_OPERATOR_H
|
||||||
#define GRID_QCD_FERMION_OPERATOR_H
|
#define GRID_QCD_FERMION_OPERATOR_H
|
||||||
|
|
||||||
namespace Grid {
|
NAMESPACE_BEGIN(Grid);
|
||||||
|
|
||||||
namespace QCD {
|
////////////////////////////////////////////////////////////////
|
||||||
|
// Allow to select between gauge representation rank bc's, flavours etc.
|
||||||
|
// and single/double precision.
|
||||||
|
////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////
|
template<class Impl>
|
||||||
// Allow to select between gauge representation rank bc's, flavours etc.
|
class FermionOperator : public CheckerBoardedSparseMatrixBase<typename Impl::FermionField>, public Impl
|
||||||
// and single/double precision.
|
{
|
||||||
////////////////////////////////////////////////////////////////
|
public:
|
||||||
|
|
||||||
template<class Impl>
|
|
||||||
class FermionOperator : public CheckerBoardedSparseMatrixBase<typename Impl::FermionField>, public Impl
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
INHERIT_IMPL_TYPES(Impl);
|
INHERIT_IMPL_TYPES(Impl);
|
||||||
|
|
||||||
@ -128,9 +126,8 @@ namespace Grid {
|
|||||||
std::vector<Real> mom,
|
std::vector<Real> mom,
|
||||||
unsigned int tmin,
|
unsigned int tmin,
|
||||||
unsigned int tmax)=0;
|
unsigned int tmax)=0;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
NAMESPACE_END(Grid);
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user