Skip to content

Commit

Permalink
minor linting edits
Browse files Browse the repository at this point in the history
  • Loading branch information
acse-ej321 committed Jan 20, 2025
1 parent 95d08b2 commit 47954d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demos/demo_2d_tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@

# The velocity field is set up using a simple analytic expression. ::

x,y = SpatialCoordinate(mesh2d)
x, y = SpatialCoordinate(mesh2d)
uv_init = as_vector([0.5 - y, x - 0.5])

# Now, we set up the cosine-bell--cone--slotted-cylinder initial condition. The
Expand Down Expand Up @@ -128,7 +128,7 @@

while t_Thetis < t_end - timestep:
t_Thetis = next(thetis_timestepper)

# Finally, we display the normalised :math:`L^2` error, by comparing to the initial condition. ::

q = solver_obj.fields.tracer_2d
Expand Down

0 comments on commit 47954d0

Please sign in to comment.