<LLTSolver />

Doxygen: SofaCaribou::solver::LLTSolver

Implementation of a sparse Cholesky (\(LL^T\)) direct linear solver.

This class provides a \(LL^T\) Cholesky factorizations of sparse matrices that are selfadjoint and positive definite. In order to reduce the fill-in, a symmetric permutation P is applied prior to the factorization such that the factorized matrix is \(P A P^{-1}\).

The component uses the Eigen SimplicialLLT class as the solver backend.

Attribute

Format

Default

Description

backend

option

Eigen

Solver backend to use.
  • Eigen
    Eigen LLT solver (SimplicialLLT).
    [default]
  • Pardiso

    Pardiso LLT solver.

Quick example

XML

<Node>
    <StaticODESolver newton_iterations="10" correction_tolerance_threshold="1e-8" residual_tolerance_threshold="1e-8" printLog="1" />
    <LLTSolver backend="Pardiso" />
</Node>

Python

node.addObject('StaticODESolver', newton_iterations=10, correction_tolerance_threshold=1e-8, residual_tolerance_threshold=1e-8, printLog=True)
node.addObject('LLTSolver', backend="Pardiso")

Available python bindings

None at the moment.