HDK
|
Diagonal preconditioner. More...
#include <ConjGradient.h>
Public Types | |
using | ValueType = typename MatrixType::ValueType |
using | BaseType = Preconditioner< ValueType > |
using | VectorType = Vector< ValueType > |
using | Ptr = SharedPtr< JacobiPreconditioner > |
![]() | |
using | ValueType = T |
using | Ptr = SharedPtr< Preconditioner > |
Public Member Functions | |
JacobiPreconditioner (const MatrixType &A) | |
~JacobiPreconditioner () override=default | |
void | apply (const Vector< ValueType > &r, Vector< ValueType > &z) override |
bool | isFinite () const |
Return true if all values along the diagonal are finite. More... | |
![]() | |
Preconditioner (const SparseStencilMatrix< T, STENCIL_SIZE > &) | |
virtual | ~Preconditioner ()=default |
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... | |
Diagonal preconditioner.
Definition at line 42 of file ConjGradient.h.
using openvdb::OPENVDB_VERSION_NAME::math::pcg::JacobiPreconditioner< MatrixType >::BaseType = Preconditioner<ValueType> |
Definition at line 1288 of file ConjGradient.h.
using openvdb::OPENVDB_VERSION_NAME::math::pcg::JacobiPreconditioner< MatrixType >::Ptr = SharedPtr<JacobiPreconditioner> |
Definition at line 1290 of file ConjGradient.h.
using openvdb::OPENVDB_VERSION_NAME::math::pcg::JacobiPreconditioner< MatrixType >::ValueType = typename MatrixType::ValueType |
Definition at line 1287 of file ConjGradient.h.
using openvdb::OPENVDB_VERSION_NAME::math::pcg::JacobiPreconditioner< MatrixType >::VectorType = Vector<ValueType> |
Definition at line 1289 of file ConjGradient.h.
|
inline |
Definition at line 1292 of file ConjGradient.h.
|
overridedefault |
|
inlineoverride |
Definition at line 1300 of file ConjGradient.h.
|
inline |
Return true
if all values along the diagonal are finite.
Definition at line 1311 of file ConjGradient.h.