mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-27 22:25:56 +01:00
Missing banner; should recreate globally
This commit is contained in:
parent
6ee5ea6b32
commit
5d3b574325
@ -1,13 +1,11 @@
|
|||||||
#ifndef SCALAR_IMPL
|
#ifndef SCALAR_IMPL
|
||||||
#define SCALAR_IMPL
|
#define SCALAR_IMPL
|
||||||
|
|
||||||
|
NAMESPACE_BEGIN(Grid);
|
||||||
namespace Grid {
|
|
||||||
//namespace QCD {
|
|
||||||
|
|
||||||
template <class S>
|
template <class S>
|
||||||
class ScalarImplTypes {
|
class ScalarImplTypes {
|
||||||
public:
|
public:
|
||||||
typedef S Simd;
|
typedef S Simd;
|
||||||
|
|
||||||
template <typename vtype>
|
template <typename vtype>
|
||||||
@ -87,11 +85,11 @@ class ScalarImplTypes {
|
|||||||
FreePropagator(in, out, momKernel);
|
FreePropagator(in, out, momKernel);
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class S, unsigned int N>
|
template <class S, unsigned int N>
|
||||||
class ScalarAdjMatrixImplTypes {
|
class ScalarAdjMatrixImplTypes {
|
||||||
public:
|
public:
|
||||||
typedef S Simd;
|
typedef S Simd;
|
||||||
typedef QCD::SU<N> Group;
|
typedef QCD::SU<N> Group;
|
||||||
|
|
||||||
@ -135,28 +133,27 @@ class ScalarImplTypes {
|
|||||||
U = zero;
|
U = zero;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
typedef ScalarImplTypes<vReal> ScalarImplR;
|
typedef ScalarImplTypes<vReal> ScalarImplR;
|
||||||
typedef ScalarImplTypes<vRealF> ScalarImplF;
|
typedef ScalarImplTypes<vRealF> ScalarImplF;
|
||||||
typedef ScalarImplTypes<vRealD> ScalarImplD;
|
typedef ScalarImplTypes<vRealD> ScalarImplD;
|
||||||
typedef ScalarImplTypes<vComplex> ScalarImplCR;
|
typedef ScalarImplTypes<vComplex> ScalarImplCR;
|
||||||
typedef ScalarImplTypes<vComplexF> ScalarImplCF;
|
typedef ScalarImplTypes<vComplexF> ScalarImplCF;
|
||||||
typedef ScalarImplTypes<vComplexD> ScalarImplCD;
|
typedef ScalarImplTypes<vComplexD> ScalarImplCD;
|
||||||
|
|
||||||
// Hardcoding here the size of the matrices
|
// Hardcoding here the size of the matrices
|
||||||
typedef ScalarAdjMatrixImplTypes<vComplex, QCD::Nc> ScalarAdjImplR;
|
typedef ScalarAdjMatrixImplTypes<vComplex, QCD::Nc> ScalarAdjImplR;
|
||||||
typedef ScalarAdjMatrixImplTypes<vComplexF, QCD::Nc> ScalarAdjImplF;
|
typedef ScalarAdjMatrixImplTypes<vComplexF, QCD::Nc> ScalarAdjImplF;
|
||||||
typedef ScalarAdjMatrixImplTypes<vComplexD, QCD::Nc> ScalarAdjImplD;
|
typedef ScalarAdjMatrixImplTypes<vComplexD, QCD::Nc> ScalarAdjImplD;
|
||||||
|
|
||||||
template <int Colours > using ScalarNxNAdjImplR = ScalarAdjMatrixImplTypes<vComplex, Colours >;
|
template <int Colours > using ScalarNxNAdjImplR = ScalarAdjMatrixImplTypes<vComplex, Colours >;
|
||||||
template <int Colours > using ScalarNxNAdjImplF = ScalarAdjMatrixImplTypes<vComplexF, Colours >;
|
template <int Colours > using ScalarNxNAdjImplF = ScalarAdjMatrixImplTypes<vComplexF, Colours >;
|
||||||
template <int Colours > using ScalarNxNAdjImplD = ScalarAdjMatrixImplTypes<vComplexD, Colours >;
|
template <int Colours > using ScalarNxNAdjImplD = ScalarAdjMatrixImplTypes<vComplexD, Colours >;
|
||||||
|
|
||||||
//}
|
NAMESPACE_END(Grid);
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user