mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
origin from_hdf5
This commit is contained in:
parent
8681751238
commit
df1a45b654
1 changed files with 2 additions and 0 deletions
|
|
@ -1145,6 +1145,7 @@ class CylindricalMesh(StructuredMesh):
|
|||
mesh.r_grid = group['r_grid'][()]
|
||||
mesh.phi_grid = group['phi_grid'][()]
|
||||
mesh.z_grid = group['z_grid'][()]
|
||||
mesh.origin = group['origin'][()]
|
||||
|
||||
return mesh
|
||||
|
||||
|
|
@ -1469,6 +1470,7 @@ class SphericalMesh(StructuredMesh):
|
|||
mesh.r_grid = group['r_grid'][()]
|
||||
mesh.theta_grid = group['theta_grid'][()]
|
||||
mesh.phi_grid = group['phi_grid'][()]
|
||||
mesh.origin = group['origin'][()]
|
||||
|
||||
return mesh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue