(self)
return new_simplices
Return the simplex indices in our coordinates.

        Returns
        -------
        simplices: ndarray (int)
            The simplices array in our extended coordinate system.

        Notes
        -----
        This is only used once in the initialization.
Return the simplex indices in our coordinates.
Return the simplex indices in our coordinates .
def _triangulation_simplex_indices(self):
        """Return the simplex indices in our coordinates.

        Returns
        -------
        simplices: ndarray (int)
            The simplices array in our extended coordinate system.

        Notes
        -----
        This is only used once in the initialization.

        """
        disc = self.discretization
        simplices = self.triangulation.simplices
        new_simplices = np.empty_like(simplices)

        # Convert the points to out indices
        index_mapping = disc.state_to_index(self.triangulation.points +
                                            disc.offset)

        # Replace each index with out new_index in index_mapping
        for i, new_index in enumerate(index_mapping):
            new_simplices[simplices == i] = new_index
        return new_simplices
def _triangulation_simplex_indices ( self ) : disc = self . discretization simplices = self . triangulation . simplices new_simplices = np . empty_like ( simplices ) # Convert the points to out indices index_mapping = disc . state_to_index ( self . triangulation . points + disc . offset ) # Replace each index with out new_index in index_mapping for i , new_index in enumerate ( index_mapping ) : new_simplices [ simplices == i ] = new_index return new_simplices