pisces.geometry.grids.base.Grid.get_flat_coordinates#
- Grid.get_flat_coordinates() ndarray [source]#
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