origin from_hdf5

This commit is contained in:
RemDelaporteMathurin 2022-11-21 09:46:13 -05:00
parent 8681751238
commit df1a45b654

View file

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