diff --git a/meshmode/discretization/__init__.py b/meshmode/discretization/__init__.py index ea2825873a0358f9457d53d5d9e59a4a55ce5b0f..a3847f2c3ab6c262c390f3c805619d74c85ab401 100644 --- a/meshmode/discretization/__init__.py +++ b/meshmode/discretization/__init__.py @@ -67,6 +67,12 @@ class ElementGroupBase(object): Returns an array of length :attr:`nunit_nodes` containing quadrature weights. + + .. attribute:: is_affine + + A :class:`bool` flag that is *True* if the local-to-global + parametrization of all the elements in the group is affine. Based on + :attr:`meshmode.mesh.MeshElementGroup.is_affine`. """ def __init__(self, mesh_el_group, order, node_nr_base): diff --git a/meshmode/mesh/__init__.py b/meshmode/mesh/__init__.py index a1009564724acb57162824f05c698401472e3204..0af14583cd9a14bfae0ca0060d4c72f331508d90 100644 --- a/meshmode/mesh/__init__.py +++ b/meshmode/mesh/__init__.py @@ -159,7 +159,11 @@ class MeshElementGroup(Record): *Not* the ambient dimension, see :attr:`Mesh.ambient_dim` for that. - .. automethod:: is_affine + .. attribute:: is_affine + + A :class:`bool` flag that is *True* if the local-to-global + parametrization of all the elements in the group is affine. + .. automethod:: face_vertex_indices .. automethod:: vertex_unit_coordinates diff --git a/meshmode/mesh/generation.py b/meshmode/mesh/generation.py index 31221b573c26a7405eed60867e4b8daec6b9b590..92c49b7d0e6183da5375b79a53daab261dc2f540 100644 --- a/meshmode/mesh/generation.py +++ b/meshmode/mesh/generation.py @@ -843,7 +843,6 @@ def generate_warped_rect_mesh(dim, order, n): from meshmode.mesh.processing import map_mesh return map_mesh(mesh, m) - # }}}