Skip to content
Snippets Groups Projects
Commit 425b0a1c authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Doc and empty-group fix

parent 8684c143
No related branches found
No related tags found
No related merge requests found
...@@ -364,6 +364,7 @@ class FacialAdjacencyGroup(Record): ...@@ -364,6 +364,7 @@ class FacialAdjacencyGroup(Record):
.. attribute:: elements .. attribute:: elements
``element_id_t [nfagrp_elements]``. ``elements[i]`` ``element_id_t [nfagrp_elements]``. ``elements[i]``
Group-local element numbers.
.. attribute:: element_faces .. attribute:: element_faces
...@@ -669,6 +670,9 @@ class Mesh(Record): ...@@ -669,6 +670,9 @@ class Mesh(Record):
# {{{ node-vertex consistency test # {{{ node-vertex consistency test
def _test_node_vertex_consistency_simplex(mesh, mgrp): def _test_node_vertex_consistency_simplex(mesh, mgrp):
if mgrp.nelements == 0:
return True
from modepy.tools import UNIT_VERTICES from modepy.tools import UNIT_VERTICES
resampling_mat = mp.resampling_matrix( resampling_mat = mp.resampling_matrix(
mp.simplex_onb(mgrp.dim, mgrp.order), mp.simplex_onb(mgrp.dim, mgrp.order),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment