Skip to content

Commit

Permalink
Merge pull request #164 from awslabs/hughcars/geodata-updates
Browse files Browse the repository at this point in the history
Patch for ParNCMesh::Update bug
  • Loading branch information
sebastiangrimberg authored Jan 4, 2024
2 parents bfe2643 + 8874622 commit 9ff441d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/ExternalMFEM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ set(MFEM_PATCH_FILES
"${CMAKE_SOURCE_DIR}/extern/patch/mfem/patch_par_tet_mesh_fix.diff"
"${CMAKE_SOURCE_DIR}/extern/patch/mfem/patch_ncmesh_interior_boundary_dev.diff"
"${CMAKE_SOURCE_DIR}/extern/patch/mfem/patch_mesh_const_fix.diff"
"${CMAKE_SOURCE_DIR}/extern/patch/mfem/patch_pncmesh_update_fix.diff"
)

include(ExternalProject)
Expand Down
13 changes: 13 additions & 0 deletions extern/patch/mfem/patch_pncmesh_update_fix.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/mesh/pncmesh.cpp b/mesh/pncmesh.cpp
index cd6625e9c..a8a88081f 100644
--- a/mesh/pncmesh.cpp
+++ b/mesh/pncmesh.cpp
@@ -107,6 +107,8 @@ void ParNCMesh::Update()
entity_owner[i].DeleteAll();
entity_pmat_group[i].DeleteAll();
entity_index_rank[i].DeleteAll();
+ entity_conf_group[i].DeleteAll();
+ entity_elem_local[i].DeleteAll();
}

shared_vertices.Clear();

0 comments on commit 9ff441d

Please sign in to comment.