Skip to content
Snippets Groups Projects
Commit 673a4348 authored by Andreas Dedner's avatar Andreas Dedner
Browse files

don't use space.cell

parent 7dac493a
No related branches found
No related tags found
1 merge request!62Cleanup/new ufl version
Pipeline #72114 failed
......@@ -93,7 +93,7 @@ def run(Model, Stepper=None,
# preparation for output
vtk = lambda : None
if saveStep is not None and Model.name is not None:
x = SpatialCoordinate(space.cell())
x = SpatialCoordinate(space)
tc = Constant(0.0,"time")
try:
velo = gridFunction(Model.velocity(tc,x,u_h), gridView=space.gridView, order=2, name="velocity")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment