Skip to content

Commit

Permalink
Set correct options in MUMPS to better detect null pivots (singular m…
Browse files Browse the repository at this point in the history
…atrices)
  • Loading branch information
cvanaret authored Nov 1, 2024
1 parent bcea64b commit 1316296
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions uno/solvers/MUMPS/MUMPSSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ namespace uno {
this->mumps_structure.icntl[1] = -1;
this->mumps_structure.icntl[2] = -1;
this->mumps_structure.icntl[3] = 0;
this->mumps_structure.icntl[12] = 1;
this->mumps_structure.icntl[23] = 1; // ICNTL(24) controls the detection of “null pivot rows”
}

MUMPSSolver::~MUMPSSolver() {
Expand Down

0 comments on commit 1316296

Please sign in to comment.