Skip to content

Commit

Permalink
Make to_firedrake example work in complex mode
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Jun 29, 2023
1 parent 64d59bb commit 4aea7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/to_firedrake.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def main():
sol = Function(cfd_fspace)

a = inner(grad(u), grad(v)) * dx
rhs = Constant(0.0) * v * dx
rhs = inner(Constant(0.0), v) * dx
bc_value = project(fd_candidate_sol, cfd_fspace)
bc = DirichletBC(cfd_fspace, bc_value, "on_boundary")
params = {"ksp_monitor": None}
Expand Down

0 comments on commit 4aea7c0

Please sign in to comment.