Skip to content

Commit

Permalink
meshio.XdmfTimeSeriesWriter → meshio.xdmf.TimeSeriesWriter #5
Browse files Browse the repository at this point in the history
  • Loading branch information
gdmcbain committed Dec 17, 2019
1 parent f611804 commit 43f330c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 07_navier_stokes_channel/st07_navier_stokes_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from skfem.models.poisson import vector_laplace, laplace
from skfem.models.general import divergence

import meshio
from meshio.xdmf import TimeSeriesWriter


@skfem.bilinear_form
Expand Down Expand Up @@ -67,7 +67,7 @@ def port_pressure(u, du, v, dv, w):

t = 0

with meshio.XdmfTimeSeriesWriter('channel.xdmf') as writer:
with TimeSeriesWriter('channel.xdmf') as writer:

writer.write_points_cells(mesh.p.T, {'triangle': mesh.t.T})

Expand Down

0 comments on commit 43f330c

Please sign in to comment.