Mapping function values to mesh coordinates #2701
Unanswered
dthillaithevan
asked this question in
Firedrake support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is there a way to map the values of a given function so that it matches the ordering of the mesh coordinates?
For example given a function
f
how doesf_ = f.vector()[:]
relate tomesh.coordinates.dat.data
?In FEniCS there are the
vertex_to_dof_map
anddof_to_vertex_map
to do this, is there something similar for firedrake?Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions