mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-03 21:44:33 +00:00 
			
		
		
		
	Hadrons: new layer in eigenpacks class hierarchy
This commit is contained in:
		@@ -32,5 +32,5 @@ using namespace Grid;
 | 
			
		||||
using namespace Hadrons;
 | 
			
		||||
using namespace MSolver;
 | 
			
		||||
 | 
			
		||||
template class Grid::Hadrons::MSolver::TA2AVectors<FIMPL, FermionEigenPack<FIMPL>>;
 | 
			
		||||
template class Grid::Hadrons::MSolver::TA2AVectors<ZFIMPL, FermionEigenPack<ZFIMPL>>;
 | 
			
		||||
template class Grid::Hadrons::MSolver::TA2AVectors<FIMPL, BaseFermionEigenPack<FIMPL>>;
 | 
			
		||||
template class Grid::Hadrons::MSolver::TA2AVectors<ZFIMPL, BaseFermionEigenPack<ZFIMPL>>;
 | 
			
		||||
 
 | 
			
		||||
@@ -79,9 +79,9 @@ private:
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
MODULE_REGISTER_TMP(A2AVectors, 
 | 
			
		||||
    ARG(TA2AVectors<FIMPL, FermionEigenPack<FIMPL>>), MSolver);
 | 
			
		||||
    ARG(TA2AVectors<FIMPL, BaseFermionEigenPack<FIMPL>>), MSolver);
 | 
			
		||||
MODULE_REGISTER_TMP(ZA2AVectors, 
 | 
			
		||||
    ARG(TA2AVectors<ZFIMPL, FermionEigenPack<ZFIMPL>>), MSolver);
 | 
			
		||||
    ARG(TA2AVectors<ZFIMPL, BaseFermionEigenPack<ZFIMPL>>), MSolver);
 | 
			
		||||
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 *                       TA2AVectors implementation                           *
 | 
			
		||||
 
 | 
			
		||||
@@ -39,7 +39,7 @@ std::shared_ptr<LinearFunction<typename FImpl::FermionField>>
 | 
			
		||||
makeGuesser(const std::string epackName)
 | 
			
		||||
{
 | 
			
		||||
    typedef typename FImpl::FermionField                  FermionField;
 | 
			
		||||
    typedef FermionEigenPack<FImpl>                       EPack;
 | 
			
		||||
    typedef BaseFermionEigenPack<FImpl>                   EPack;
 | 
			
		||||
    typedef CoarseFermionEigenPack<FImpl, nBasis>         CoarseEPack;
 | 
			
		||||
    typedef DeflatedGuesser<FermionField>                 FineGuesser;
 | 
			
		||||
    typedef LocalCoherenceDeflatedGuesser<
 | 
			
		||||
 
 | 
			
		||||
@@ -63,7 +63,7 @@ public:
 | 
			
		||||
    typedef LocalCoherenceLanczos<typename FImpl::SiteSpinor, 
 | 
			
		||||
                                  typename FImpl::SiteComplex, 
 | 
			
		||||
                                  nBasis>                LCL;
 | 
			
		||||
    typedef FermionEigenPack<FImpl>                      BasePack;
 | 
			
		||||
    typedef BaseFermionEigenPack<FImpl>                  BasePack;
 | 
			
		||||
    typedef CoarseFermionEigenPack<FImpl, nBasis>        CoarsePack;
 | 
			
		||||
    typedef HADRONS_DEFAULT_SCHUR_OP<FMat, FermionField> SchurFMat;
 | 
			
		||||
public:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user