Skip to content

Commit

Permalink
[FEM] Elmer: use defaults of ElmerGUI
Browse files Browse the repository at this point in the history
- use also for the linear solver the defaults of ElmerGUI
  • Loading branch information
donovaly committed Aug 7, 2022
1 parent 753a034 commit 460efa3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Fem/femsolver/elmer/equations/linear.py
Expand Up @@ -84,14 +84,14 @@ def __init__(self, obj):
""
)
obj.LinearIterativeMethod = LINEAR_ITERATIVE
obj.LinearIterativeMethod = "BiCGStabl"
obj.LinearIterativeMethod = "BiCGStab"
obj.addProperty(
"App::PropertyInteger",
"BiCGstablDegree",
"Linear System",
""
)
obj.BiCGstablDegree = 3
obj.BiCGstablDegree = 2
obj.addProperty(
"App::PropertyEnumeration",
"LinearPreconditioning",
Expand All @@ -110,7 +110,7 @@ def __init__(self, obj):
# view and edit the tolerance via the property editor and this does not
# yet allow to view and edit small numbers in scientific notation
# forum thread: https://forum.freecadweb.org/viewtopic.php?p=613897#p613897
obj.setExpression("LinearTolerance", "1e-8")
obj.setExpression("LinearTolerance", "1e-10")
obj.addProperty(
"App::PropertyInteger",
"LinearIterations",
Expand Down

0 comments on commit 460efa3

Please sign in to comment.