Skip to content

Commit bf76a32

Browse files
authored
Remove checked on the first gmres iteration (SimVascular#405)
check on the absolute tolerance for the first gmres iteration is removed. At least one linear iteration is allowed to be completed.
1 parent fb22768 commit bf76a32

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Code/Source/liner_solver/gmres.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,6 @@ void gmres(fsi_linear_solver::FSILS_lhsType& lhs, fsi_linear_solver::FSILS_subLs
156156

157157
if (l == 0) {
158158
eps = err[0];
159-
160-
if (eps <= ls.absTol) {
161-
ls.callD = std::numeric_limits<double>::epsilon();
162-
ls.dB = 0.0;
163-
return;
164-
}
165-
166159
ls.iNorm = eps;
167160
ls.fNorm = eps;
168161
eps = std::max(ls.absTol, ls.relTol*eps);

0 commit comments

Comments
 (0)