Skip to content

Commit

Permalink
geodata.cpp: a clearer error message
Browse files Browse the repository at this point in the history
  • Loading branch information
LeilaGhaffari committed Aug 16, 2024
1 parent ff08c4f commit 7f00ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion palace/utils/geodata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2217,7 +2217,7 @@ std::map<int, std::array<int, 2>> CheckMesh(std::unique_ptr<mfem::Mesh> &orig_me
if (!periodic_be)
{
MFEM_VERIFY(face_to_be.find(f) == face_to_be.end(),
"Mesh should not define boundary elements multiple times!");
"A face cannot have multiple boundary elements!");
}
face_to_be[f] = be;
}
Expand Down

0 comments on commit 7f00ec8

Please sign in to comment.