[FEM] Elmer: automatic update for BiCGstablDegree

- up to last week we used the invalid BiCGstablDegree 0 thus update to the default of 2
This commit is contained in:
Uwe
2022-08-10 01:50:19 +02:00
parent 4b2a486d51
commit 69efa37e49

View File

@@ -1426,6 +1426,8 @@ class Writer(object):
equation.setExpression("LinearTolerance", str(equation.LinearTolerance))
if self._hasExpression(equation) != equation.SteadyStateTolerance:
equation.setExpression("SteadyStateTolerance", str(equation.SteadyStateTolerance))
if equation.BiCGstablDegree == 0:
equation.BiCGstablDegree = 2
def _createLinearSolver(self, equation):
# first check if we have to update