|
Blender V4.3
|
#include <btKrylovSolver.h>
Inherited by btConjugateGradient< MatrixX >, and btConjugateResidual< MatrixX >.
Public Member Functions | |
| btKrylovSolver (int maxIterations, btScalar tolerance) | |
| virtual | ~btKrylovSolver () |
| virtual int | solve (MatrixX &A, TVStack &x, const TVStack &b, bool verbose=false)=0 |
| virtual void | reinitialize (const TVStack &b)=0 |
| virtual SIMD_FORCE_INLINE TVStack | sub (const TVStack &a, const TVStack &b) |
| virtual SIMD_FORCE_INLINE btScalar | squaredNorm (const TVStack &a) |
| virtual SIMD_FORCE_INLINE btScalar | norm (const TVStack &a) |
| virtual SIMD_FORCE_INLINE btScalar | dot (const TVStack &a, const TVStack &b) |
| virtual SIMD_FORCE_INLINE void | multAndAddTo (btScalar s, const TVStack &a, TVStack &result) |
| virtual SIMD_FORCE_INLINE TVStack | multAndAdd (btScalar s, const TVStack &a, const TVStack &b) |
| virtual SIMD_FORCE_INLINE void | setTolerance (btScalar tolerance) |
Public Attributes | |
| int | m_maxIterations |
| btScalar | m_tolerance |
Definition at line 27 of file btKrylovSolver.h.
|
inline |
Definition at line 34 of file btKrylovSolver.h.
|
inlinevirtual |
Definition at line 39 of file btKrylovSolver.h.
|
inlinevirtual |
Definition at line 76 of file btKrylovSolver.h.
References b, and btKrylovSolver< MatrixX >::dot().
Referenced by btDeformableBodySolver::computeDescentStep(), btKrylovSolver< MatrixX >::dot(), btConjugateGradient< MatrixX >::solve(), btConjugateResidual< MatrixX >::solve(), and btKrylovSolver< MatrixX >::squaredNorm().
|
inlinevirtual |
Definition at line 92 of file btKrylovSolver.h.
References b, btAlignedObjectArray< T >::resize(), and result.
Referenced by btConjugateGradient< MatrixX >::solve(), and btConjugateResidual< MatrixX >::solve().
|
inlinevirtual |
Definition at line 84 of file btKrylovSolver.h.
References btAssert.
Referenced by btConjugateGradient< MatrixX >::solve(), and btConjugateResidual< MatrixX >::solve().
|
inlinevirtual |
Definition at line 63 of file btKrylovSolver.h.
|
pure virtual |
|
inlinevirtual |
Definition at line 102 of file btKrylovSolver.h.
References btKrylovSolver< MatrixX >::m_tolerance.
|
pure virtual |
|
inlinevirtual |
Definition at line 58 of file btKrylovSolver.h.
References btKrylovSolver< MatrixX >::dot().
|
inlinevirtual |
Definition at line 45 of file btKrylovSolver.h.
References b, btAssert, and btAlignedObjectArray< T >::resize().
Referenced by btConjugateGradient< MatrixX >::solve(), and btConjugateResidual< MatrixX >::solve().
| int btKrylovSolver< MatrixX >::m_maxIterations |
Definition at line 32 of file btKrylovSolver.h.
Referenced by btConjugateGradient< MatrixX >::solve(), and btConjugateResidual< MatrixX >::solve().
| btScalar btKrylovSolver< MatrixX >::m_tolerance |
Definition at line 33 of file btKrylovSolver.h.
Referenced by btKrylovSolver< MatrixX >::setTolerance(), btConjugateGradient< MatrixX >::solve(), and btConjugateResidual< MatrixX >::solve().