From f0721ac5351eec9425ecf4e33a90b5ac13eba1cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Delaporte-Mathurin?= <40028739+RemDelaporteMathurin@users.noreply.github.com> Date: Mon, 21 Nov 2022 14:30:36 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Patrick Shriwise --- openmc/mesh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmc/mesh.py b/openmc/mesh.py index 615514c68..307d9d952 100644 --- a/openmc/mesh.py +++ b/openmc/mesh.py @@ -1052,7 +1052,7 @@ class CylindricalMesh(StructuredMesh): self._r_grid = None self._phi_grid = [0.0, 2*pi] self._z_grid = None - self._origin = (0., 0., 0.) + self.origin = (0., 0., 0.) @property def dimension(self): @@ -1378,7 +1378,7 @@ class SphericalMesh(StructuredMesh): self._r_grid = None self._theta_grid = [0, pi] self._phi_grid = [0, 2*pi] - self._origin = (0., 0., 0.) + self.origin = (0., 0., 0.) @property def dimension(self):