From 9139dcd58bddc0dd81776888462632c31a50920c Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Wed, 3 Jun 2020 01:37:27 +0200 Subject: [PATCH] Apply suggestion to meshmode/mesh/processing.py --- meshmode/mesh/processing.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meshmode/mesh/processing.py b/meshmode/mesh/processing.py index e09d2d54..2ed265c0 100644 --- a/meshmode/mesh/processing.py +++ b/meshmode/mesh/processing.py @@ -577,11 +577,9 @@ def split_mesh_groups(mesh, element_flags, return_subgroup_mapping=False): """Split all the groups in *mesh* in according to the values of *element_flags*. The element flags are expected to be integers defining, for each group, how the elements are to be split into - subgroups. For example, a single-group mesh with flags + subgroups. For example, a single-group mesh with flags:: - .. code:: - - element_flags = [0, 0, 0, 42, 42, 42, 0, 0, 0, 41, 41, 41] + element_flags = [0, 0, 0, 42, 42, 42, 0, 0, 0, 41, 41, 41] will create three subgroups. The integer flags need not be increasing or contiguous and can repeat across different groups (i.e. they are -- GitLab