<LUSolver />

Doxygen: SofaCaribou::solver::LUSolver

Implementation of a sparse LU linear solver.

Attribute

Format

Default

Description

backend

option

Eigen

Solver backend to use.
  • Eigen
    Eigen LU solver (SparseLU).
    [default]
  • Pardiso

    Pardiso LU solver.

symmetric

bool

False

Allows to explicitly state that the system matrix will be symmetric. This will in turn enable various optimizations. This option is only used by the Eigen backend.

Quick example

XML

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

Python

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

Available python bindings

None at the moment.