Diagonal preconditioner. More...
#include <openvdb/math/ConjGradient.h>
 
  
| Public Types | |
| using | ValueType = typename MatrixType::ValueType | 
| using | BaseType = Preconditioner<ValueType> | 
| using | VectorType = Vector<ValueType> | 
| using | Ptr = SharedPtr<JacobiPreconditioner> | 
| Public Member Functions | |
| JacobiPreconditioner (const MatrixType &A) | |
| ~JacobiPreconditioner () override=default | |
| void | apply (const Vector< ValueType > &r, Vector< ValueType > &z) override | 
| Apply this preconditioner to a residue vector: z = M−1r | |
| bool | isFinite () const | 
| Return trueif all values along the diagonal are finite. | |
| virtual bool | isValid () const | 
Diagonal preconditioner.
| using BaseType = Preconditioner<ValueType> | 
| using Ptr = SharedPtr<JacobiPreconditioner> | 
| using ValueType = typename MatrixType::ValueType | 
| using VectorType = Vector<ValueType> | 
| 
 | inline | 
| 
 | overridedefault | 
| 
 | inlineoverridevirtual | 
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 >.