|
Grid 0.7.0
|
#include <BlockConjugateGradient.h>
Public Types | |
| typedef Field::scalar_type | scomplex |
Public Member Functions | |
| BlockConjugateGradient (BlockCGtype cgtype, int _Orthog, RealD tol, Integer maxit, bool err_on_no_conv=true) | |
| void | ThinQRfact (Eigen::MatrixXcd &m_rr, Eigen::MatrixXcd &C, Eigen::MatrixXcd &Cinv, Field &Q, const Field &R) |
| void | ThinQRfact (Eigen::MatrixXcd &m_rr, Eigen::MatrixXcd &C, Eigen::MatrixXcd &Cinv, std::vector< Field > &Q, const std::vector< Field > &R) |
| void | operator() (LinearOperatorBase< Field > &Linop, const Field &Src, Field &Psi) |
| virtual void | operator() (LinearOperatorBase< Field > &Linop, const std::vector< Field > &Src, std::vector< Field > &Psi) |
| void | BlockCGrQsolve (LinearOperatorBase< Field > &Linop, const Field &B, Field &X) |
| void | CGmultiRHSsolve (LinearOperatorBase< Field > &Linop, const Field &Src, Field &Psi) |
| void | BlockCGrQsolveVec (LinearOperatorBase< Field > &Linop, const std::vector< Field > &B, std::vector< Field > &X) |
Data Fields | |
| int | blockDim |
| int | Nblock |
| BlockCGtype | CGtype |
| bool | ErrorOnNoConverge |
| RealD | Tolerance |
| Integer | MaxIterations |
| Integer | IterationsToComplete |
| Integer | PrintInterval |
| RealD | TrueResidual |
Definition at line 92 of file BlockConjugateGradient.h.
| typedef Field::scalar_type BlockConjugateGradient< Field >::scomplex |
Definition at line 95 of file BlockConjugateGradient.h.
|
inline |
Definition at line 109 of file BlockConjugateGradient.h.
References blockDim, CGtype, ErrorOnNoConverge, MaxIterations, PrintInterval, and Tolerance.
|
inline |
Definition at line 132 of file BlockConjugateGradient.h.
References blockDim, sliceInnerProductMatrix(), and sliceMulMatrix().
Referenced by BlockCGrQsolve(), and BlockCGrQsolveVec().
|
inline |
Definition at line 167 of file BlockConjugateGradient.h.
References InnerProductMatrix(), and MulMatrix().
|
inlinevirtual |
Implements OperatorFunction< Field >.
Definition at line 197 of file BlockConjugateGradient.h.
References BlockCGrQ, BlockCGrQsolve(), CGmultiRHS, CGmultiRHSsolve(), and CGtype.
|
inlinevirtual |
Reimplemented from OperatorFunction< Field >.
Definition at line 207 of file BlockConjugateGradient.h.
References BlockCGrQsolveVec(), BlockCGrQVec, and CGtype.
|
inline |
Definition at line 223 of file BlockConjugateGradient.h.
References B, blockDim, conformable(), GridStopWatch::Elapsed(), ErrorOnNoConverge, GridLogIterative, GridLogMessage, LinearOperatorBase< Field >::HermOp(), IterationsToComplete, MaxIterations, Nblock, norm2(), real(), sliceInnerProductMatrix(), sliceMaddMatrix(), sliceNorm(), GridStopWatch::Start(), GridStopWatch::Stop(), ThinQRfact(), Tolerance, and TrueResidual.
Referenced by operator()().
|
inline |
Definition at line 412 of file BlockConjugateGradient.h.
References blockDim, conformable(), GridStopWatch::Elapsed(), ErrorOnNoConverge, GridLogIterative, GridLogMessage, LinearOperatorBase< Field >::HermOp(), IterationsToComplete, MaxIterations, Nblock, norm2(), real(), sliceInnerProductVector(), sliceMaddVector(), sliceNorm(), GridStopWatch::Start(), GridStopWatch::Stop(), Tolerance, and TrueResidual.
Referenced by operator()().
|
inline |
Definition at line 554 of file BlockConjugateGradient.h.
References B, conformable(), GridStopWatch::Elapsed(), ErrorOnNoConverge, GridLogIterative, GridLogMessage, LinearOperatorBase< Field >::HermOp(), InnerProductMatrix(), IterationsToComplete, MaddMatrix(), MaxIterations, Nblock, norm2(), normv(), real(), GridStopWatch::Start(), GridStopWatch::Stop(), ThinQRfact(), Tolerance, and TrueResidual.
Referenced by operator()().
| int BlockConjugateGradient< Field >::blockDim |
Definition at line 97 of file BlockConjugateGradient.h.
Referenced by BlockCGrQsolve(), BlockConjugateGradient(), CGmultiRHSsolve(), and ThinQRfact().
| int BlockConjugateGradient< Field >::Nblock |
Definition at line 98 of file BlockConjugateGradient.h.
Referenced by BlockCGrQsolve(), BlockCGrQsolveVec(), and CGmultiRHSsolve().
| BlockCGtype BlockConjugateGradient< Field >::CGtype |
Definition at line 100 of file BlockConjugateGradient.h.
Referenced by BlockConjugateGradient(), operator()(), and operator()().
| bool BlockConjugateGradient< Field >::ErrorOnNoConverge |
Definition at line 101 of file BlockConjugateGradient.h.
Referenced by BlockCGrQsolve(), BlockCGrQsolveVec(), BlockConjugateGradient(), and CGmultiRHSsolve().
| RealD BlockConjugateGradient< Field >::Tolerance |
Definition at line 103 of file BlockConjugateGradient.h.
Referenced by BlockCGrQsolve(), BlockCGrQsolveVec(), BlockConjugateGradient(), and CGmultiRHSsolve().
| Integer BlockConjugateGradient< Field >::MaxIterations |
Definition at line 104 of file BlockConjugateGradient.h.
Referenced by BlockCGrQsolve(), BlockCGrQsolveVec(), BlockConjugateGradient(), and CGmultiRHSsolve().
| Integer BlockConjugateGradient< Field >::IterationsToComplete |
Definition at line 105 of file BlockConjugateGradient.h.
Referenced by BlockCGrQsolve(), BlockCGrQsolveVec(), and CGmultiRHSsolve().
| Integer BlockConjugateGradient< Field >::PrintInterval |
Definition at line 106 of file BlockConjugateGradient.h.
Referenced by BlockConjugateGradient().
| RealD BlockConjugateGradient< Field >::TrueResidual |
Definition at line 107 of file BlockConjugateGradient.h.
Referenced by BlockCGrQsolve(), BlockCGrQsolveVec(), and CGmultiRHSsolve().