Skip to content

Commit b28c0af

Browse files
committed
fixed advective_fluxes so flake8 is happy
1 parent 976e869 commit b28c0af

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

advection_nonuniform/advective_fluxes.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ def unsplit_fluxes(my_data, rp, dt, scalar_name):
110110

111111
# the zone where we grab the transverse flux derivative from
112112
# depends on the sign of the advective velocity
113-
dtdx2 = 0.5*dt/myg.dx
114-
dtdy2 = 0.5*dt/myg.dy
113+
dtdx2 = 0.5 * dt / myg.dx
114+
dtdy2 = 0.5 * dt / myg.dy
115115

116116
for index, vel in np.ndenumerate(u.v(buf=1)):
117117
F_x.v(buf=1)[index] = vel * (a_x.v(buf=1)[index] - dtdy2
@@ -124,4 +124,3 @@ def unsplit_fluxes(my_data, rp, dt, scalar_name):
124124
- F_xt.jp(shift_y.v(buf=1)[index], buf=1)[index]))
125125

126126
return F_x, F_y
127-

0 commit comments

Comments
 (0)