diff --git a/meshmode/mesh/__init__.py b/meshmode/mesh/__init__.py index 20c9613df443f46711ddf6d6dc43727dfd399e38..53916c7ab783d398f08b1bb022b89e0b6f1a6e57 100644 --- a/meshmode/mesh/__init__.py +++ b/meshmode/mesh/__init__.py @@ -364,6 +364,7 @@ class FacialAdjacencyGroup(Record): .. attribute:: elements ``element_id_t [nfagrp_elements]``. ``elements[i]`` + Group-local element numbers. .. attribute:: element_faces @@ -669,6 +670,9 @@ class Mesh(Record): # {{{ node-vertex consistency test def _test_node_vertex_consistency_simplex(mesh, mgrp): + if mgrp.nelements == 0: + return True + from modepy.tools import UNIT_VERTICES resampling_mat = mp.resampling_matrix( mp.simplex_onb(mgrp.dim, mgrp.order),