Skip to content

Commit

Permalink
Fix option name
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Jan 5, 2024
1 parent 1f1712d commit bc0a29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/demos/demo_stokes.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def T(u: Expr, p: Expr, mu: Expr):
# We use the MUMPS solver provided through the DOLFINX_MPC PETSc interface to solve the variational problem

# +
petsc_options = {"ksp_type": "preonly", "pc_type": "lu", "pc_factor_solver_type": "mumps"}
petsc_options = {"ksp_type": "preonly", "pc_type": "lu", "pc_factor_mat_solver_type": "mumps"}
problem = LinearProblem(a, L, mpc, bcs=bcs, petsc_options=petsc_options)
U = problem.solve()
# -
Expand Down

0 comments on commit bc0a29d

Please sign in to comment.