Skip to content
Discussion options

You must be logged in to vote

The scrambled order is expected. There is no expectation that the order of the vertices in the vertex only mesh is the same as that provided by the user. If you want the values you have created back in the input ordering then you can interpolate them back to a space defined on the input ordering VOM as described in the manual: https://www.firedrakeproject.org/point-evaluation.html#using-the-input-ordering-property

Alternatively, you can work in the vertex only mesh by defining a vector function space and interpolating the vertex only mesh spatial coordinate onto it, hence accessing the locations of the points in VOM order.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@maxeruth
Comment options

@connorjward
Comment options

@leo-collins
Comment options

@dham
Comment options

dham Jul 11, 2025
Maintainer

Answer selected by maxeruth
@maxeruth
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants