How to create a VertexOnlyMesh for interpolating to a array ? #2714
-
Hello, I want to get an array-shaped interpolation of a Function, but I struggle to create a VertexOnlyMesh. My approach is:
but the resulting VOM.coordinates.dat.data has the shape (0,2). Thank you for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I used the firedrake FunctionPlotter to get Coordinates and Values from the mesh.
|
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay in getting back to you!
This suggests that all the points you specified when you did coordinates = [[x,y] for x in np.arange(bottom,top,1000) for y in np.arange(left, right, 1000)] were outside the If you want to be warned that that you are losing points on
or for error write
|
Beta Was this translation helpful? Give feedback.
I used the firedrake FunctionPlotter to get Coordinates and Values from the mesh.