Skip to content

Commit

Permalink
Grid.from_points() with Spherical Delaunay & Voronoi (#1023)
Browse files Browse the repository at this point in the history
* initial work on spherical voronoi

* sample point cloud data, user gudie

* add delaunay triangulation

* update notebook

* clean up coordinates and update user guide

* spherical from points with boundaries, update notebook, add grid attributes

* remove regional triangles

* add tests and update notebook

* update api reference

* remove exo file

* update docstring

* use mpl backend for notebook due to a lot of plots

* o Fix typo

* update notebook

* pre-commit

---------

Co-authored-by: Aaron Zedwick <[email protected]>
Co-authored-by: Rajeev Jain <[email protected]>
  • Loading branch information
3 people authored Nov 4, 2024
1 parent 191f4c1 commit 6cd2e64
Show file tree
Hide file tree
Showing 20 changed files with 1,186 additions and 34 deletions.
10 changes: 9 additions & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ I/O & Conversion
Grid.from_file
Grid.from_topology
Grid.from_structured
Grid.from_points
Grid.to_xarray
Grid.to_geodataframe
Grid.to_polycollection
Expand Down Expand Up @@ -128,7 +129,12 @@ Descriptors
Grid.edge_node_distances
Grid.edge_face_distances
Grid.antimeridian_face_indices
Grid.hole_edge_indices
Grid.boundary_node_indices
Grid.boundary_edge_indices
Grid.boundary_face_indices
Grid.partial_sphere_coverage
Grid.global_sphere_coverage
Grid.triangular

Attributes
~~~~~~~~~~
Expand Down Expand Up @@ -240,6 +246,8 @@ Grid
Grid.plot.face_centers
Grid.plot.edge_coords
Grid.plot.edge_centers
Grid.face_degree_distribution
Grid.face_area_distribution


UxDataArray
Expand Down
Loading

0 comments on commit 6cd2e64

Please sign in to comment.