|
Blender
V3.3
|
#include <btConjugateGradient.h>
Public Member Functions | |
| btConjugateGradient (const int max_it_in) | |
| virtual | ~btConjugateGradient () |
| int | solve (MatrixX &A, TVStack &x, const TVStack &b, bool verbose=false) |
| void | reinitialize (const TVStack &b) |
Public Member Functions inherited from btKrylovSolver< MatrixX > | |
| btKrylovSolver (int maxIterations, btScalar tolerance) | |
| virtual | ~btKrylovSolver () |
| 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) |
Additional Inherited Members | |
Public Attributes inherited from btKrylovSolver< MatrixX > | |
| int | m_maxIterations |
| btScalar | m_tolerance |
Definition at line 20 of file btConjugateGradient.h.
|
inline |
Definition at line 27 of file btConjugateGradient.h.
|
inlinevirtual |
Definition at line 32 of file btConjugateGradient.h.
|
inlinevirtual |
Implements btKrylovSolver< MatrixX >.
Definition at line 109 of file btConjugateGradient.h.
References usdtokens::b(), r, btAlignedObjectArray< T >::resize(), and z.
Referenced by btConjugateGradient< MatrixX >::solve().
|
inlinevirtual |
Implements btKrylovSolver< MatrixX >.
Definition at line 35 of file btConjugateGradient.h.
References A, usdtokens::b(), beta(), BT_PROFILE, btAssert, btMin(), btKrylovSolver< MatrixX >::dot(), btKrylovSolver< MatrixX >::m_maxIterations, btKrylovSolver< MatrixX >::m_tolerance, btKrylovSolver< MatrixX >::multAndAdd(), btKrylovSolver< MatrixX >::multAndAddTo(), r, btConjugateGradient< MatrixX >::reinitialize(), btKrylovSolver< MatrixX >::sub(), verbose, x, and z.
Referenced by btDeformableBodySolver::computeDescentStep(), and btDeformableBodySolver::computeStep().