Example (1) for SofaPardisoSolver
Description:
The SofaPardisoSolver plugin contains a wrapper allowing for efficient direct solution of a system of linear equations.
It also contains advanced feature which exploits an algorithm of partial decomposition available in Pardiso. This feature significantly accelerates computation of Schur complement, typically needed to solve solve linear complementarity problems (LCP).
Scene testPardiso.scn
In this scene, you can see the performance for linear system resolution using the
Pardiso library.
In this simulation, feel free to set the path where your want to export data (matrix, RHS, solution) using the data
exportDataToFolder.
You can also set the matrix properties using the data
symmetric:
- 0 = nonsymmetric arbitrary matrix
- 1 = symmetric matrix
- 2 = symmetric positive definite
- -1 = structurally symmetric matrix
Enjoy SOFA with Pardiso!