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