pisces.geometry.grids.core.GenericGrid.get_flat_coordinates#

GenericGrid.get_flat_coordinates() ndarray#

Return a flattened array of coordinate vectors for all grid points.

Returns:

An array of shape (N_points, N_dims), where N_points is the total number of grid points and N_dims is the number of dimensions in the coordinate system. Each row represents the coordinates of one point.

Return type:

np.ndarray