From 8e747cc8747410326da04fbd4fcebc587a4a0081 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Fri, 29 Jul 2022 00:51:25 +0100 Subject: [PATCH] Apply suggestion from @paulromano Co-authored-by: Paul Romano --- openmc/mesh.py | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/openmc/mesh.py b/openmc/mesh.py index 211c4075d1..d7ea4bc11b 100644 --- a/openmc/mesh.py +++ b/openmc/mesh.py @@ -1469,19 +1469,17 @@ class UnstructuredMesh(MeshBase): be generated for this mesh volumes : Iterable of float Volumes of the unstructured mesh elements - centroids : np.narray (3, n_elements) - Centroids of the mesh elements + centroids : numpy.ndarray + Centroids of the mesh elements with array shape (3, n_elements) - vertices : np.ndarray (3,) - Coordinates of the mesh vertices + vertices : numpy.ndarray + Coordinates of the mesh vertices with array shape (3, n_elements) - .. versionadded:: 0.13 - - connectivity : np.ndarray (8, n_elements) - Connectivity of the elements - - .. versionadded:: 0.13 + .. versionadded:: 0.13.1 + connectivity : numpy.ndarray + Connectivity of the elements with array shape (8, n_elements) + .. versionadded:: 0.13.1 element_types : Iterable of integers Mesh element types