mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-20 14:23:17 +01:00
Nbasis method for convenience
This commit is contained in:
1 parent
cdff2c8e18
commit
b19ae8f465
1 file changed
+2
@@ -42,6 +42,8 @@ inline RealD AggregatePowerLaw(RealD x)
|
|||||||
template<class Fobj,class CComplex,int nbasis>
|
template<class Fobj,class CComplex,int nbasis>
|
||||||
class Aggregation {
|
class Aggregation {
|
||||||
public:
|
public:
|
||||||
|
constexpr int Nbasis(void) { return nbasis; };
|
||||||
|
|
||||||
typedef iVector<CComplex,nbasis > siteVector;
|
typedef iVector<CComplex,nbasis > siteVector;
|
||||||
typedef Lattice<siteVector> CoarseVector;
|
typedef Lattice<siteVector> CoarseVector;
|
||||||
typedef Lattice<iMatrix<CComplex,nbasis > > CoarseMatrix;
|
typedef Lattice<iMatrix<CComplex,nbasis > > CoarseMatrix;
|
||||||
|
|||||||
Reference in new issue
Block a user