OpenVDB
3.2.0
|
Base class for conjugate gradient preconditioners. More...
#include <ConjGradient.h>
Public Types | |
typedef T | ValueType |
typedef boost::shared_ptr< Preconditioner > | Ptr |
Public Member Functions | |
template<SizeType STENCIL_SIZE> | |
Preconditioner (const SparseStencilMatrix< T, STENCIL_SIZE > &) | |
virtual | ~Preconditioner () |
virtual bool | isValid () const |
virtual void | apply (const Vector< T > &r, Vector< T > &z)=0 |
Apply this preconditioner to a residue vector: z = M−1r More... | |
Base class for conjugate gradient preconditioners.
typedef boost::shared_ptr<Preconditioner> Ptr |
typedef T ValueType |
|
inline |
|
inlinevirtual |
Apply this preconditioner to a residue vector: z = M−1r
r | residue vector | |
[out] | z | preconditioned residue vector |
Implemented in IncompleteCholeskyPreconditioner< MatrixType >, and JacobiPreconditioner< MatrixType >.
|
inlinevirtual |
Reimplemented in IncompleteCholeskyPreconditioner< MatrixType >.