CHROMA
sn_jacob.h
Go to the documentation of this file.
1 #ifndef __sn_jacob_h__
2 #define __sn_jacob_h__
3 
4 namespace Chroma {
5 
6 //! Single-node Jacobi rotation
7 /*!
8  * \ingroup eig
9  *
10  * This subroutine contains a "single node" Jacobi routine
11  * to be used with the Ritz functional eigenvialue/std::vector finder.
12  *
13  *
14  * \param psi Eigenvectors (Modify)
15  * \param N_eig Eigenvalue number (Read)
16  * \param lambda Diagonals / Eigenvalues (Modify)
17  * \param off_diag Upper triang off-diag matrix elems (Modify)
18  * \param tolererance Tolerance for off-diag elems (Read)
19  * \param N_max Maximal number of Jacobi iters (Read)
20  * \param sub Subset to use (Read)
21  *
22  * \return Number of Jacobi iters (Write)
23  */
24 int SN_Jacob(multi1d<LatticeFermion>& psi,
25  const int N_eig,
26  multi1d<Real>& lambda,
27  multi1d<Complex>& off_diag,
28  Real tolerance,
29  int N_max,
30  const Subset& sub);
31 
32 } // end namespace Chroma
33 
34 #endif
int SN_Jacob(multi1d< LatticeFermion > &psi, const int N_eig, multi1d< Real > &lambda, multi1d< Complex > &off_diag, Real tolerance, int N_max, const Subset &sub)
Single-node Jacobi rotation.
Definition: sn_jacob.cc:226
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
LatticeFermion psi
Definition: mespbg5p_w.cc:35