@@ -152,7 +152,7 @@ def t_walls(self) -> NDArray[np.float64]:
152152 @cached_property
153153 def t_centers (self ) -> NDArray [np .float64 ]:
154154 """Position of FV centers along x/theta."""
155- return (self .t_walls [:- 1 ] + self .t_walls [1 :]) / 2
155+ return (self .t_walls [:- 1 ] + self .t_walls [1 :]) / 2 # type: ignore
156156
157157 @cached_property
158158 def p_walls (self ) -> NDArray [np .float64 ]:
@@ -174,7 +174,7 @@ def p_walls(self) -> NDArray[np.float64]:
174174 @cached_property
175175 def p_centers (self ) -> NDArray [np .float64 ]:
176176 """Position of FV centers along y/phi."""
177- return (self .p_walls [:- 1 ] + self .p_walls [1 :]) / 2
177+ return (self .p_walls [:- 1 ] + self .p_walls [1 :]) / 2 # type: ignore
178178
179179 @property
180180 def z_walls (self ) -> NDArray [np .float64 ]:
@@ -516,7 +516,7 @@ def stepstr(self) -> str:
516516 @cached_property
517517 def centers (self ) -> NDArray [np .float64 ]:
518518 """Radial position of cell centers."""
519- return self ._rprofs ["r" ].to_numpy () + self .bounds [0 ]
519+ return self ._rprofs ["r" ].to_numpy () + self .bounds [0 ] # type: ignore
520520
521521 @cached_property
522522 def walls (self ) -> NDArray [np .float64 ]:
@@ -528,9 +528,9 @@ def walls(self) -> NDArray[np.float64]:
528528 # assume walls are mid-way between T-nodes
529529 # could be T-nodes at center between walls
530530 centers = self .centers
531- walls = (centers [:- 1 ] + centers [1 :]) / 2
531+ walls : NDArray [ np . float64 ] = (centers [:- 1 ] + centers [1 :]) / 2 # type: ignore
532532 walls = np .insert (walls , 0 , rbot )
533- walls = np .append (walls , rtop )
533+ walls : NDArray [ np . float64 ] = np .append (walls , rtop ) # type: ignore
534534 return walls
535535
536536 @cached_property
0 commit comments