Skip to content

Commit 5413209

Browse files
committed
fix some issues with partitioning docs
1 parent 078eab4 commit 5413209

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

meshmode/mesh/processing.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ def _filter_mesh_groups(mesh, selected_elements, vertex_id_dtype):
112112
"""
113113
Create new mesh groups containing a selected subset of elements.
114114
115-
:arg groups: An array of `~meshmode.mesh.ElementGroup` instances.
115+
:arg mesh: A `~meshmode.mesh.Mesh` instance.
116116
:arg selected_elements: A sorted array of indices of elements to be included in
117117
the filtered groups.
118+
:arg vertex_id_dtype: The vertex index data type.
118119
:returns: A tuple ``(new_groups, group_to_new_group, required_vertex_indices)``,
119120
where *new_groups* is made up of groups from *groups* with elements not in
120121
*selected_elements* removed (Note: empty groups are omitted),
@@ -245,8 +246,8 @@ def _create_self_to_self_adjacency_groups(mesh, global_elem_to_part_elem,
245246
:func:`_compute_global_elem_to_part_elem`` for details.
246247
:arg self_part_index: The index of the partition currently being created, in
247248
the range ``[0, num_parts)``.
248-
:arg self_mesh_groups: An array of :class:`~meshmode.mesh.ElementGroup` instances
249-
representing the partitioned mesh groups.
249+
:arg self_mesh_groups: An array of :class:`~meshmode.mesh.MeshElementGroup`
250+
instances representing the partitioned mesh groups.
250251
:arg global_group_to_self_group: An array mapping groups in *mesh* to groups in
251252
*self_mesh_groups* (or `None` if the group is not part of the current
252253
partition).
@@ -323,7 +324,7 @@ def _create_self_to_other_adjacency_groups(
323324
indices to partition indices and partition-wide element indices. See
324325
:func:`_compute_global_elem_to_part_elem`` for details.
325326
:arg self_part_id: The identifier of the partition currently being created.
326-
:arg self_mesh_groups: An array of `~meshmode.mesh.ElementGroup` instances
327+
:arg self_mesh_groups: An array of `~meshmode.mesh.MeshElementGroup` instances
327328
representing the partitioned mesh groups.
328329
:arg global_group_to_self_group: An array mapping groups in *mesh* to groups in
329330
*self_mesh_groups* (or `None` if the group is not part of the current
@@ -404,7 +405,7 @@ def _create_boundary_groups(mesh, global_elem_to_part_elem, self_part_index,
404405
:func:`_compute_global_elem_to_part_elem`` for details.
405406
:arg self_part_index: The index of the partition currently being created, in
406407
the range ``[0, num_parts)``.
407-
:arg self_mesh_groups: An array of `~meshmode.mesh.ElementGroup` instances
408+
:arg self_mesh_groups: An array of `~meshmode.mesh.MeshElementGroup` instances
408409
representing the partitioned mesh groups.
409410
:arg global_group_to_self_group: An array mapping groups in *mesh* to groups in
410411
*self_mesh_groups* (or `None` if the group is not part of the current

0 commit comments

Comments
 (0)