optimad / bitpit

Open source library for scientific HPC
http://optimad.github.io/bitpit/
GNU Lesser General Public License v3.0
117 stars 33 forks source link

Add lapacke-based solveLU #284

Closed marcocisternino closed 2 years ago

marcocisternino commented 2 years ago

Two commits are in this branch. The first one introduces two new solveLU functions (one for solution only, the other one for solution and factorization). The number of rhs is limited to 1. Two extern constant have been introduced to set the matrix layout using lapack values and to avoid application to include lapacke headers. The second commit fix the determinant evaluation by fixing the complement build and by calling the complement function with opportune arguments.