diff --git a/examples/stegoton_1d/expected_sols.npy b/examples/stegoton_1d/expected_sols.npy index 2f2a10e7..8a39bed3 100644 Binary files a/examples/stegoton_1d/expected_sols.npy and b/examples/stegoton_1d/expected_sols.npy differ diff --git a/examples/stegoton_1d/stegoton.py b/examples/stegoton_1d/stegoton.py index cdca42d3..1f53b00d 100755 --- a/examples/stegoton_1d/stegoton.py +++ b/examples/stegoton_1d/stegoton.py @@ -78,7 +78,7 @@ def moving_wall_bc(state,dim,t,qbc,auxbc,num_ghost): t0 = (t-t1)/tw1 if abs(t0)<=1.: vwall = -a1*(1.+np.cos(t0*np.pi)) else: vwall=0. - for ibc in range(num_ghost-1): + for ibc in range(num_ghost): qbc[1,num_ghost-ibc-1] = 2*vwall*state.aux[1,ibc] - qbc[1,num_ghost+ibc]