def select_fwidth(self, dobj): mask = self._get_selector_mask(dobj.selector) if mask is None: return np.empty((0, 3), dtype="float64") widths = fill_fwidths(self.connectivity_coords, self.connectivity_indices, self._index_offset) return widths[mask, :]
def select_fwidth(self, dobj): mask = self._get_selector_mask(dobj.selector) if mask is None: return np.empty((0,3), dtype='float64') widths = fill_fwidths(self.connectivity_coords, self.connectivity_indices, self._index_offset) return widths[mask, :]