Skip to content

Commit

Permalink
Saddle point distributed in work
Browse files Browse the repository at this point in the history
  • Loading branch information
niravshah241 committed Nov 14, 2024
1 parent 2539b3f commit 6e773a0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ def solve(self, mu):
# Set GMRES solver
ksp.setType("gmres")
ksp.setGMRESRestart(100)
# pc = ksp.getPC()
# pc.setType("bjacobi")
pc = ksp.getPC()
pc.setType("ilu")
# Convergence criteria based on residual tolerance
ksp.rtol = 1.e-8
# Solve and see convergence details
Expand Down

0 comments on commit 6e773a0

Please sign in to comment.