diff --git a/meshmode/mesh/__init__.py b/meshmode/mesh/__init__.py index 6b65caf4e4262a5ded1709a5f2aa8125983a14e7..413b79df12e4de064e40cfbb38afca0fdba7a88e 100644 --- a/meshmode/mesh/__init__.py +++ b/meshmode/mesh/__init__.py @@ -175,7 +175,9 @@ class MeshElementGroup(Record): def join_mesh(self, element_nr_base, node_nr_base): if self.element_nr_base is not None: raise RuntimeError("this element group has already joined a mesh, " - "cannot join another") + "cannot join another (The element group's element_nr_base " + "is already assigned, and that typically happens when a " + "group joins a Mesh instance.)") return self.copy( element_nr_base=element_nr_base,