From c788248261d236d046185e30ae831be546d4e39d Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Wed, 14 Dec 2016 15:16:11 -0600 Subject: [PATCH] Improve section headings in meshmode.mesh --- meshmode/mesh/__init__.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/meshmode/mesh/__init__.py b/meshmode/mesh/__init__.py index 81ec7ae2..3f02e7f7 100644 --- a/meshmode/mesh/__init__.py +++ b/meshmode/mesh/__init__.py @@ -95,6 +95,8 @@ SYSTEM_TAGS = set([BTAG_NONE, BTAG_ALL, BTAG_REALLY_ALL, BTAG_NO_BOUNDARY]) # {{{ element group +# {{{ base class + class MeshElementGroup(Record): """A group of elements sharing a common reference element. @@ -221,6 +223,10 @@ class MeshElementGroup(Record): def __ne__(self, other): return not self.__eq__(other) +# }}} + + +# {{{ simplex class SimplexElementGroup(MeshElementGroup): def __init__(self, order, vertex_indices, nodes, @@ -292,6 +298,10 @@ class SimplexElementGroup(MeshElementGroup): from modepy.tools import unit_vertices return unit_vertices(self.dim) +# }}} + + +# {{{ tensor-product class TensorProductElementGroup(MeshElementGroup): def __init__(self, order, vertex_indices, nodes, @@ -330,6 +340,8 @@ class TensorProductElementGroup(MeshElementGroup): # }}} +# }}} + # {{{ nodal adjacency -- GitLab