Mesh copy #4738
Answered
by
connorjward
DSTxj
asked this question in
Firedrake support
Mesh copy
#4738
-
|
How to perform grid duplication in Firedrake? I found that when using "mesh2 = mesh" directly, it merely causes the same mesh to have two identical names. |
Beta Was this translation helpful? Give feedback.
Answered by
connorjward
Nov 20, 2025
Replies: 1 comment 7 replies
-
|
You can create a new mesh by running new_mesh = Mesh(old_mesh.coordinates)See https://www.firedrakeproject.org/mesh-coordinates.html#changing-the-coordinate-function-space. I admit this is a bit funny. |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
DSTxj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can create a new mesh by running
See https://www.firedrakeproject.org/mesh-coordinates.html#changing-the-coordinate-function-space.
I admit this is a bit funny.