From c634a1467445352974e391cdfe7e80d936d3c6a9 Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Fri, 17 Feb 2023 10:56:42 -0500 Subject: [PATCH] added origin to docstrings --- openmc/mesh.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openmc/mesh.py b/openmc/mesh.py index 10d07000e5..06f0246768 100644 --- a/openmc/mesh.py +++ b/openmc/mesh.py @@ -1049,6 +1049,8 @@ class CylindricalMesh(StructuredMesh): The default value is [0, 2π], i.e. the full phi range. z_grid : numpy.ndarray 1-D array of mesh boundary points along the z-axis. + origin : tuple + The (x,y,z) origin of the mesh in cartesian coordinates indices : Iterable of tuple An iterable of mesh indices for each mesh element, e.g. [(1, 1, 1), (2, 1, 1), ...] @@ -1376,6 +1378,8 @@ class SphericalMesh(StructuredMesh): phi_grid : numpy.ndarray 1-D array of mesh boundary points along the phi-axis in radians. The default value is [0, 2π], i.e. the full phi range. + origin : tuple + The (x,y,z) origin of the mesh in cartesian coordinates indices : Iterable of tuple An iterable of mesh indices for each mesh element, e.g. [(1, 1, 1), (2, 1, 1), ...]