Skip to content
Discussion options

You must be logged in to vote

Not at the moment, which I'm aware is an issue particularly now that broadcasting the coordinates from rank 0 is the default behaviour. For now, assuming none of your coordinates are the same, you can manually look at the coordinates using vmesh.coordinates.data.data_ro_with_halos on each rank and match them to the data you have. At present I empty the halos of points as a way of ensuring uniqueness, which I know isn't ideal, but you ought to find that the total length of vmesh.coordinates.data.data_ro_with_halos does correspond to the length of X_coords - if not, you must be losing points. You can check this by doing

vmesh = VertexOnlyMesh(space.mesh(), X_coords, missing_points_behaviour='…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@connorjward
Comment options

@jrmaddison
Comment options

jrmaddison Mar 13, 2023
Collaborator Author

@ReubenHill
Comment options

@ReubenHill
Comment options

Answer selected by jrmaddison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants