mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 15:55:37 +00:00
NAMESPACE & format
This commit is contained in:
parent
1fbab4032b
commit
59ba9ff3bb
@ -37,7 +37,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
#include <Grid/qcd/spin/Gamma.h>
|
#include <Grid/qcd/spin/Gamma.h>
|
||||||
|
|
||||||
namespace Grid {
|
NAMESPACE_BEGIN(Grid);
|
||||||
|
|
||||||
// Dirac algebra adjoint operator (not in QCD:: to overload other adj)
|
// Dirac algebra adjoint operator (not in QCD:: to overload other adj)
|
||||||
inline QCD::Gamma adj(const QCD::Gamma &g)
|
inline QCD::Gamma adj(const QCD::Gamma &g)
|
||||||
@ -45,7 +45,7 @@ inline QCD::Gamma adj(const QCD::Gamma &g)
|
|||||||
return QCD::Gamma (QCD::Gamma::adj[g.g]);
|
return QCD::Gamma (QCD::Gamma::adj[g.g]);
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace QCD {
|
|
||||||
|
|
||||||
// Dirac algebra mutliplication operator
|
// Dirac algebra mutliplication operator
|
||||||
inline Gamma operator*(const Gamma &g1, const Gamma &g2)
|
inline Gamma operator*(const Gamma &g1, const Gamma &g2)
|
||||||
@ -227,6 +227,6 @@ inline auto operator * (const iMatrix<vtype, N> &arg, const GammaL &gl)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
}}
|
NAMESPACE_END(Grid);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user