1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-19 16:55:37 +01:00

Nbasis method for convenience

This commit is contained in:
Peter Boyle 2024-02-21 14:36:19 -05:00
parent cdff2c8e18
commit b19ae8f465

View File

@ -42,6 +42,8 @@ inline RealD AggregatePowerLaw(RealD x)
template<class Fobj,class CComplex,int nbasis>
class Aggregation {
public:
constexpr int Nbasis(void) { return nbasis; };
typedef iVector<CComplex,nbasis > siteVector;
typedef Lattice<siteVector> CoarseVector;
typedef Lattice<iMatrix<CComplex,nbasis > > CoarseMatrix;