Skip to content

Commit

Permalink
Fix global_grid call in poisson.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kburns committed Dec 9, 2024
1 parent fb87689 commit 5b948c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/lbvp_2d_poisson/poisson.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
solver.solve()

# Gather global data
x = xbasis.global_grid()
y = ybasis.global_grid()
x = xbasis.global_grid(dist, scale=1)
y = ybasis.global_grid(dist, scale=1)
ug = u.allgather_data('g')

# Plot
Expand Down

0 comments on commit 5b948c2

Please sign in to comment.