How to get vertex values in dolfinx?

From the change log of the dolfinx-tutorial,

dolfinx.fem.Function.compute_point_values has been deprecated. Interpolation into a CG-1 is now the way of getting vertex values.

3 Likes