Skip to content

Commit

Permalink
Version 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Huite committed Sep 26, 2024
1 parent 3ffc6c7 commit 4414df3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 7 deletions.
13 changes: 12 additions & 1 deletion docs/api/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ The format is based on `Keep a Changelog`_, and this project adheres to
Unreleased
----------

[0.2.2] 2024-09-26
------------------

Fixed
~~~~~

- Version 0.2.1 introduced new logic relying on geopandas 1.0+ shapely-wrapped
functions, breaking compatibility with earlier geopandas versions. These method
calls have been replaced with direct shapely functions, ensuring compatibility
with older versions such as geopandas 0.14.

[0.2.1] 2024-09-04
------------------

Expand Down Expand Up @@ -135,4 +146,4 @@ Changed
positives.

.. _Keep a Changelog: https://keepachangelog.com/en/1.0.0/
.. _Semantic Versioning: https://semver.org/spec/v2.0.0.html
.. _Semantic Versioning: https://semver.org/spec/v2.0.0.html
2 changes: 1 addition & 1 deletion pandamesh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from pandamesh.triangle_enums import DelaunayAlgorithm
from pandamesh.triangle_mesher import TriangleMesher

__version__ = "0.2.1"
__version__ = "0.2.2"


__all__ = (
Expand Down
16 changes: 11 additions & 5 deletions pandamesh/gmsh_mesher.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,11 @@ def add_structured_field(
outside_value: Union[float, None] = None,
) -> None:
"""
Add an equidistant structured field specifying cell sizes. Gmsh will
interpolate between the points to determine the desired cell size.
Add an equidistant structured field specifying cell sizes for mesh generation.
This method defines a grid of cell sizes that Gmsh will use as control points
for mesh generation. Gmsh interpolates between these points to determine the
desired cell size at any location within the grid.
Parameters
----------
Expand Down Expand Up @@ -603,9 +606,12 @@ def add_structured_field_from_dataarray(
outside_value: Union[float, None] = None,
):
"""
Add an equidistant structured field specifying cell sizes from an
xarray DataArray object. Gmsh will interpolate between the points to
determine the desired cell size.
Add an equidistant structured field as an xarray DataArray specifying
cell sizes for mesh generation.
This method defines a grid of cell sizes that Gmsh will use as control
points for mesh generation. Gmsh interpolates between these points to
determine the desired cell size at any location within the grid.
Parameters
----------
Expand Down

0 comments on commit 4414df3

Please sign in to comment.