1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 07:17:06 +01:00

gammas: adjoint implemented as a symbolic operation

This commit is contained in:
2017-01-24 18:07:43 -08:00
parent 0432e30256
commit 05cb6d318a
5 changed files with 190 additions and 233 deletions

View File

@ -51,6 +51,14 @@ namespace QCD {
static const int Nhs=2; // half spinor
static const int Nds=8; // double stored gauge field
static const int Ngp=2; // gparity index range
// if no adj funtion in QCD:: redirect to Grid::
// this avoids QCD:: adj functions to screen the Grid:: ones
template <typename T>
inline auto adj(T x)->decltype(Grid::adj(x))
{
return Grid::adj(x);
}
//////////////////////////////////////////////////////////////////////////////
// QCD iMatrix types