OpenVDB
12.0.0
|
Diagonal preconditioner. More...
#include <openvdb/math/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) | |
~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 |
|
overridedefault |
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 >.