Skip to content

Commit b1b0846

Browse files
committed
misc: conflict?
1 parent e69f9ba commit b1b0846

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/timestepping/acoustic_superstep_2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def acoustic_model(model, step=1, snapshots=1):
127127
new_u.data[1, :] = u.data[idx - 1]
128128
new_u.data[2, :] = u.data[idx]
129129
else:
130-
new_u, new_u_p, *stencil = superstep_generator(u, stencil.rhs, step)
130+
new_u, new_u_p, *stencil = superstep_generator(u, stencil.rhs, step, tn=tn1)
131131

132132
tn2 = int(np.ceil((t2 - t1)/model.critical_dt))
133133
dt = (t2 - t1)/tn2

examples/timestepping/superstep_2d.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def gaussian2d(xx, yy, mu=0, sigma_sq=1):
2828
def ripple_on_pond(step=1, snapshots=1):
2929
# Construct 2D Grid
3030
grid = Grid(shape=shape, extent=extent)
31-
x, y = grid.dimensions
3231

3332
# Need to ensure that the velocity function supports the largest superstep stencil
3433
velocity = Function(name="velocity", grid=grid, space_order=(2, step, step))

0 commit comments

Comments
 (0)