Skip to content

Commit 19fddbe

Browse files
committed
misc: Fix exprs in 01_navierstokes.py due to change in PETScSolve output type
1 parent 905def2 commit 19fddbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/petsc/cfd/01_navierstokes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def neumann_right(eq, subdomain):
288288
tentu = PETScSolve([eq_u1]+bc_petsc_u1, u1.forward)
289289
tentv = PETScSolve([eq_v1]+bc_petsc_v1, v1.forward)
290290

291-
exprs = [tentu, tentv, eqn_p, update_u, update_v, bc_u1, bc_v1]
291+
exprs = [tentu, tentv, eqn_p, update_u, update_v] + bc_u1 + bc_v1
292292

293293
with switchconfig(language='petsc'):
294294
op = Operator(exprs)

0 commit comments

Comments
 (0)