@@ -301,15 +301,15 @@ def get_grid_shape(self, grid_id: int, shape: NDArray[np.int_]) -> NDArray[np.in
301301 return shape
302302
303303 def get_grid_spacing (
304- self , grid_id : int , spacing : NDArray [np .float_ ]
305- ) -> NDArray [np .float_ ]:
304+ self , grid_id : int , spacing : NDArray [np .float64 ]
305+ ) -> NDArray [np .float64 ]:
306306 """Spacing of rows and columns of uniform rectilinear grid."""
307307 spacing [:] = self ._model .spacing
308308 return spacing
309309
310310 def get_grid_origin (
311- self , grid_id : int , origin : NDArray [np .float_ ]
312- ) -> NDArray [np .float_ ]:
311+ self , grid_id : int , origin : NDArray [np .float64 ]
312+ ) -> NDArray [np .float64 ]:
313313 """Origin of uniform rectilinear grid."""
314314 origin [:] = self ._model .origin
315315 return origin
@@ -370,11 +370,11 @@ def get_grid_nodes_per_face(
370370 def get_grid_face_edges (self , grid : int , face_edges : NDArray [np .int_ ]) -> None :
371371 raise NotImplementedError ("get_grid_face_edges" )
372372
373- def get_grid_x (self , grid : int , x : NDArray [np .float_ ]) -> None :
373+ def get_grid_x (self , grid : int , x : NDArray [np .float64 ]) -> None :
374374 raise NotImplementedError ("get_grid_x" )
375375
376- def get_grid_y (self , grid : int , y : NDArray [np .float_ ]) -> None :
376+ def get_grid_y (self , grid : int , y : NDArray [np .float64 ]) -> None :
377377 raise NotImplementedError ("get_grid_y" )
378378
379- def get_grid_z (self , grid : int , z : NDArray [np .float_ ]) -> None :
379+ def get_grid_z (self , grid : int , z : NDArray [np .float64 ]) -> None :
380380 raise NotImplementedError ("get_grid_z" )
0 commit comments