1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-16 23:07:05 +01:00

Added ImplicitlyRestartedLanczosCJ to Algorithms.h

This commit is contained in:
Chulwoo Jung
2017-07-28 15:33:59 -04:00
parent 93650f3a61
commit 191fbf85fc
2 changed files with 9 additions and 4 deletions

View File

@ -27,8 +27,8 @@ Author: Chulwoo Jung <chulwoo@bnl.gov>
See the full license in the file "LICENSE" in the top level distribution directory
*************************************************************************************/
/* END LEGAL */
#ifndef GRID_IRL_H
#define GRID_IRL_H
#ifndef GRID_IRL_CJ_H
#define GRID_IRL_CJ_H
#include <string.h> //memset
@ -91,7 +91,7 @@ public:
void init(void){};
void Abort(int ff, DenseVector<RealD> &evals, DenseVector<DenseVector<RealD> > &evecs);
ImplicitlyRestartedLanczos(
ImplicitlyRestartedLanczosCJ(
LinearOperatorBase<Field> &Linop, // op
OperatorFunction<Field> & poly, // polynmial
int _Nstop, // sought vecs
@ -110,7 +110,7 @@ public:
Np = Nm-Nk; assert(Np>0);
};
ImplicitlyRestartedLanczos(
ImplicitlyRestartedLanczosCJ(
LinearOperatorBase<Field> &Linop, // op
OperatorFunction<Field> & poly, // polynmial
int _Nk, // sought vecs