Skip to content

Commit 5b948c2

Browse files
committed
Fix global_grid call in poisson.py
1 parent fb87689 commit 5b948c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/lbvp_2d_poisson/poisson.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
solver.solve()
6565

6666
# Gather global data
67-
x = xbasis.global_grid()
68-
y = ybasis.global_grid()
67+
x = xbasis.global_grid(dist, scale=1)
68+
y = ybasis.global_grid(dist, scale=1)
6969
ug = u.allgather_data('g')
7070

7171
# Plot

0 commit comments

Comments
 (0)