|
OpenVDB
4.0.2
|
Diagonal preconditioner. More...
#include <ConjGradient.h>
Inherits Preconditioner< MatrixType::ValueType >.
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) | |
| virtual | ~JacobiPreconditioner () override=default |
| void | apply (const Vector< ValueType > &r, Vector< ValueType > &z) override |
| 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.
| using BaseType = Preconditioner<ValueType> |
| using Ptr = SharedPtr<JacobiPreconditioner> |
| using ValueType = typename MatrixType::ValueType |
| using VectorType = Vector<ValueType> |
|
inline |
|
overridevirtualdefault |
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.13