Skip to content

Commit

Permalink
Forgot dual space
Browse files Browse the repository at this point in the history
  • Loading branch information
jwallwork23 committed Jan 21, 2025
1 parent 9a0253c commit 943c8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion movement/mover.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _create_functions(self):
self.mesh.coordinates, name="Computational coordinates"
)
self.v = firedrake.Function(self.coord_space, name="Mesh velocity")
self.volume = firedrake.Cofunction(self.P0, name="Mesh volume")
self.volume = firedrake.Cofunction(self.P0.dual(), name="Mesh volume")
self.volume.interpolate(ufl.CellVolume(self.mesh))

def _convergence_message(self, iterations=None):
Expand Down

0 comments on commit 943c8d9

Please sign in to comment.