Skip to content

Commit 7ef6ea0

Browse files
committed
Fix --disable-unique-id case in new Nemesis code
This was another bug from #2681 that crops up in a configuration we weren't regularly testing.
1 parent a8f837c commit 7ef6ea0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mesh/nemesis_io.C

+2
Original file line numberDiff line numberDiff line change
@@ -1169,9 +1169,11 @@ void Nemesis_IO::read (const std::string & base_filename)
11691169
// proper "ghost" neighbor information.
11701170
MeshCommunication().gather_neighboring_elements(cast_ref<DistributedMesh &>(mesh));
11711171

1172+
#ifdef LIBMESH_ENABLE_UNIQUE_ID
11721173
// We've been setting unique_ids by hand; let's make sure that later
11731174
// ones are consistent with them.
11741175
mesh.set_next_unique_id(mesh.parallel_max_unique_id()+1);
1176+
#endif
11751177
}
11761178

11771179
#else

0 commit comments

Comments
 (0)