1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-08-02 12:47:07 +01:00

Simplified lanczos, added Eigen diagonalisation.

Curious if we can deprecate dependencly on BLAS.
Will see when we get 48^3 running on our BG/Q port
This commit is contained in:
paboyle
2017-06-21 02:26:03 +01:00
parent 0486ff8e79
commit 7e35286860
4 changed files with 547 additions and 624 deletions

View File

@@ -56,11 +56,8 @@ class BlockConjugateGradient : public OperatorFunction<Field> {
Integer IterationsToComplete; //Number of iterations the CG took to finish. Filled in upon completion
BlockConjugateGradient(BlockCGtype cgtype,int _Orthog,RealD tol, Integer maxit, bool err_on_no_conv = true)
: Tolerance(tol),
CGtype(cgtype),
blockDim(_Orthog),
MaxIterations(maxit),
ErrorOnNoConverge(err_on_no_conv){};
: Tolerance(tol), CGtype(cgtype), blockDim(_Orthog), MaxIterations(maxit), ErrorOnNoConverge(err_on_no_conv)
{};
////////////////////////////////////////////////////////////////////////////////////////////////////
// Thin QR factorisation (google it)