@@ -300,15 +300,15 @@ def get_grid_shape(self, grid_id: int, shape: NDArray[np.int_]) -> NDArray[np.in
300300 return shape
301301
302302 def get_grid_spacing (
303- self , grid_id : int , spacing : NDArray [np .float_ ]
304- ) -> NDArray [np .float_ ]:
303+ self , grid_id : int , spacing : NDArray [np .float64 ]
304+ ) -> NDArray [np .float64 ]:
305305 """Spacing of rows and columns of uniform rectilinear grid."""
306306 spacing [:] = self ._model .spacing
307307 return spacing
308308
309309 def get_grid_origin (
310- self , grid_id : int , origin : NDArray [np .float_ ]
311- ) -> NDArray [np .float_ ]:
310+ self , grid_id : int , origin : NDArray [np .float64 ]
311+ ) -> NDArray [np .float64 ]:
312312 """Origin of uniform rectilinear grid."""
313313 origin [:] = self ._model .origin
314314 return origin
@@ -369,11 +369,11 @@ def get_grid_nodes_per_face(
369369 def get_grid_face_edges (self , grid : int , face_edges : NDArray [np .int_ ]) -> None :
370370 raise NotImplementedError ("get_grid_face_edges" )
371371
372- def get_grid_x (self , grid : int , x : NDArray [np .float_ ]) -> None :
372+ def get_grid_x (self , grid : int , x : NDArray [np .float64 ]) -> None :
373373 raise NotImplementedError ("get_grid_x" )
374374
375- def get_grid_y (self , grid : int , y : NDArray [np .float_ ]) -> None :
375+ def get_grid_y (self , grid : int , y : NDArray [np .float64 ]) -> None :
376376 raise NotImplementedError ("get_grid_y" )
377377
378- def get_grid_z (self , grid : int , z : NDArray [np .float_ ]) -> None :
378+ def get_grid_z (self , grid : int , z : NDArray [np .float64 ]) -> None :
379379 raise NotImplementedError ("get_grid_z" )
0 commit comments