Apply suggestions from code review

Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
This commit is contained in:
Rémi Delaporte-Mathurin 2022-11-21 14:30:36 -05:00 committed by GitHub
parent 10a95186e3
commit f0721ac535
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):