mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Apply suggestions from code review
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
This commit is contained in:
parent
10a95186e3
commit
f0721ac535
1 changed files with 2 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue