directSolver¶
- directSolver:
Works with VSimBase, VSimEM, VSimPD, VSimPA, and VSimVE licenses.
Solve a linear equation using direct methods.
directSolver Parameters¶
- solverType (string)
Solver type to use. Currently, the only option is superLU, which solves the system by decomposing the matrix \(A\) into its LU factorization \(A=LU\) with lower triangular \(L\) and upper triangular \(U\). The system is then readily solved with a pass of forward and back substitution. Generally, the direct solver is more algorithmically complex than the iterative solvers (and hence it is not as scalable in comparison), but is also more robust and does not have the possibility of nonconvergence. The direct solver works best with sparse matrices (i.e. \(A\) has many zero elements).
Example directSolver Block¶
<LinearSolver mySolver>
kind = directSolver
solverType = superLU
</LinearSolver>