mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
centre attribute to CylindricalMesh and SphericalMesh
This commit is contained in:
parent
facc1995e3
commit
2a4c8bbb9b
1 changed files with 2 additions and 0 deletions
|
|
@ -1052,6 +1052,7 @@ class CylindricalMesh(StructuredMesh):
|
|||
self._r_grid = None
|
||||
self._phi_grid = [0.0, 2*pi]
|
||||
self._z_grid = None
|
||||
self._centre = [0, 0, 0]
|
||||
|
||||
@property
|
||||
def dimension(self):
|
||||
|
|
@ -1284,6 +1285,7 @@ class SphericalMesh(StructuredMesh):
|
|||
self._r_grid = None
|
||||
self._theta_grid = [0, pi]
|
||||
self._phi_grid = [0, 2*pi]
|
||||
self._centre = [0, 0, 0]
|
||||
|
||||
@property
|
||||
def dimension(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue