|
OpenVDB
3.2.0
|
Diagonal preconditioner. More...
#include <ConjGradient.h>
Inherits Preconditioner< MatrixType::ValueType >.
Public Types | |
| typedef MatrixType::ValueType | ValueType |
| typedef Preconditioner< ValueType > | BaseType |
| typedef Vector< ValueType > | VectorType |
| typedef boost::shared_ptr< JacobiPreconditioner > | Ptr |
Public Member Functions | |
| JacobiPreconditioner (const MatrixType &A) | |
| virtual | ~JacobiPreconditioner () |
| virtual void | apply (const Vector< ValueType > &r, Vector< ValueType > &z) |
| Apply this preconditioner to a residue vector: z = M−1r More... | |
| bool | isFinite () const |
Return true if all values along the diagonal are finite. More... | |
| virtual bool | isValid () const |
Diagonal preconditioner.
| typedef Preconditioner<ValueType> BaseType |
| typedef boost::shared_ptr<JacobiPreconditioner> Ptr |
| typedef MatrixType::ValueType ValueType |
| typedef Vector<ValueType> VectorType |
|
inline |
|
inlinevirtual |
Apply this preconditioner to a residue vector: z = M−1r
| r | residue vector | |
| [out] | z | preconditioned residue vector |
Implements Preconditioner< MatrixType::ValueType >.
|
inline |
Return true if all values along the diagonal are finite.
|
inlinevirtualinherited |
Reimplemented in IncompleteCholeskyPreconditioner< MatrixType >.
1.8.12