Skip to content

Commit 8af8ed5

Browse files
committed
Fixes for LinearProblem API change.
1 parent e2ae4f9 commit 8af8ed5

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

demo/demo_kirchhoff-love-clamped.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ def all_boundary(x):
211211
L,
212212
bcs=bcs,
213213
petsc_options={"ksp_type": "preonly", "pc_type": "lu", "pc_factor_mat_solver_type": "mumps"},
214+
petsc_options_prefix="problem_"
214215
)
215216
u_h = problem.solve()
216217

demo/demo_reissner-mindlin-clamped-tdnns.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ def all_boundary(x):
244244
L,
245245
bcs=bcs,
246246
petsc_options={"ksp_type": "preonly", "pc_type": "lu", "pc_factor_mat_solver_type": "mumps"},
247+
petsc_options_prefix="problem_"
247248
)
248249
u_h = problem.solve()
249250

demo/demo_reissner-mindlin-clamped.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ def all_boundary(x):
222222
-F,
223223
bcs=bcs,
224224
petsc_options={"ksp_type": "preonly", "pc_type": "lu", "pc_factor_mat_solver_type": "mumps"},
225+
petsc_options_prefix="problem_"
225226
)
226227
u_ = problem.solve()
227228

demo/demo_reissner-mindlin-simply-supported.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ def make_bc(value, V, on_boundary):
239239
-F,
240240
bcs=bcs,
241241
petsc_options={"ksp_type": "preonly", "pc_type": "lu", "pc_factor_mat_solver_type": "mumps"},
242+
petsc_options_prefix="problem_"
242243
)
243244
u_ = problem.solve()
244245

launch-container.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22
CONTAINER_ENGINE="podman"
3-
${CONTAINER_ENGINE} run -ti -v $(pwd):/shared -w /shared dolfinx/dolfinx:nightly
3+
${CONTAINER_ENGINE} run -ti -v $(pwd):/shared -w /shared dolfinx/dolfinx:v0.10.0-r1

0 commit comments

Comments
 (0)