1
0
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:
paboyle 2018-01-14 23:32:19 +00:00
parent 7747b95430
commit bf629dddce

View File

@ -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