OpenVDB
9.0.1
|
Base class for conjugate gradient preconditioners. More...
#include <openvdb/math/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.
using Ptr = SharedPtr<Preconditioner> |
using ValueType = T |
|
inline |
|
virtualdefault |
Apply this preconditioner to a residue vector: z = M−1r
r | residue vector | |
[out] | z | preconditioned residue vector |
Implemented in IncompleteCholeskyPreconditioner< MatrixType >, and JacobiPreconditioner< MatrixType >.
|
inlinevirtual |
Reimplemented in IncompleteCholeskyPreconditioner< MatrixType >.