HDK
|
Base class for conjugate gradient preconditioners. More...
#include <ConjGradient.h>
Public Types | |
using | ValueType = T |
using | Ptr = SharedPtr< Preconditioner > |
Public Member Functions | |
template<SizeType STENCIL_SIZE> | |
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... | |
Base class for conjugate gradient preconditioners.
Definition at line 41 of file ConjGradient.h.
using openvdb::OPENVDB_VERSION_NAME::math::pcg::Preconditioner< ValueType >::Ptr = SharedPtr<Preconditioner> |
Definition at line 468 of file ConjGradient.h.
using openvdb::OPENVDB_VERSION_NAME::math::pcg::Preconditioner< ValueType >::ValueType = T |
Definition at line 467 of file ConjGradient.h.
|
inline |
Definition at line 470 of file ConjGradient.h.
|
virtualdefault |
|
pure virtual |
Apply this preconditioner to a residue vector: z = M−1r
r | residue vector | |
[out] | z | preconditioned residue vector |
|
inlinevirtual |
Reimplemented in openvdb::OPENVDB_VERSION_NAME::math::pcg::IncompleteCholeskyPreconditioner< MatrixType >.
Definition at line 473 of file ConjGradient.h.