Skip to content
Snippets Groups Projects
Unverified Commit ed432dab authored by Andreas Klöckner's avatar Andreas Klöckner Committed by GitHub
Browse files

map_mesh: Use Mesh.copy instead of enumerating attributes


Co-authored-by: default avatarAlex Fikl <alexfikl@gmail.com>
parent 0780fcf5
No related branches found
No related tags found
No related merge requests found
......@@ -1039,11 +1039,7 @@ def map_mesh(mesh, f): # noqa
# }}}
from meshmode.mesh import Mesh
return Mesh(vertices, new_groups, skip_tests=True,
boundary_tags=mesh.boundary_tags,
nodal_adjacency=mesh.nodal_adjacency_init_arg(),
facial_adjacency_groups=mesh._facial_adjacency_groups,
is_conforming=mesh.is_conforming)
return mesh.copy(vertices=vertices, groups=new_groups)
# }}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment