Skip to content

Commit

Permalink
Merge pull request #14 from nbouziani/patch-1
Browse files Browse the repository at this point in the history
Alignment with new interpolation behaviour
  • Loading branch information
UZerbinati authored Dec 14, 2023
2 parents 1cc888b + 4a33d00 commit 3326df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngsPETSc/utils/firedrake.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def curveField(self, order):
low_order_element = self.coordinates.function_space().ufl_element().sub_elements[0]
element = low_order_element.reconstruct(degree=order)
space = fd.VectorFunctionSpace(self, fd.BrokenElement(element))
newFunctionCoordinates = fd.interpolate(self.coordinates, space)
newFunctionCoordinates = fd.assemble(fd.interpolate(self.coordinates, space))

#Computing reference points using fiat
fiat_element = newFunctionCoordinates.function_space().finat_element.fiat_equivalent
Expand Down

0 comments on commit 3326df8

Please sign in to comment.