solve_pardiso#
- planestress.analysis.solver.solve_pardiso(k: lil_array, f: npt.NDArray[np.float64]) npt.NDArray[np.float64][source]#
Solves a sparse linear system using the pardiso solver.
- Parameters:
k (lil_array) –
N x Nsparse matrix of the linear system.f (npt.NDArray[np.float64]) –
N x 1right hand side of the linear system.
- Raises:
RuntimeError – If
pypardisois not installed.- Returns:
The solution vector to the sparse linear system of equations.
- Return type:
npt.NDArray[np.float64]