Published March 16, 2026 | Version 0.52.0
Software Open

zwicker-group/py-pde: 0.52.0

  • 1. Max Planck Institute for Dynamics and Self-Organization
  • 2. UIUC
  • 3. LFM Research Project

Description

This release further refines the relatively new backends and hopefully stabilizes the interface a bit more. Moreover, we added a first (experimental) support for jax as a backend and we improved the torch support.

What's Changed

  • Refactor type annotations in _class_cache for improved clarity and consistency by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/761
  • Enhance backend compatibility and improve error handling by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/763
  • Implement second order boundary conditions and enhance testing for torch backend by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/764
  • Refactor condition checks and improve title assignment in plotting by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/765
  • Refactor PDE class methods to improve expression handling and operator integration by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/766
  • Fix docstrings to correctly describe arguments by @Copilot in https://github.com/zwicker-group/py-pde/pull/767
  • Complete autosummary documentation in all module docstrings by @Copilot in https://github.com/zwicker-group/py-pde/pull/768
  • Fix docstring inaccuracies across PDE and grid modules by @Copilot in https://github.com/zwicker-group/py-pde/pull/769
  • Update requirements and improve documentation structure by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/770
  • Fix documentation errors across manual pages by @Copilot in https://github.com/zwicker-group/py-pde/pull/771
  • Improve support of torch backend by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/773
  • Refactor backend registration and configuration handling across multiple backends; add tests for backend selection with TorchBackend. by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/774
  • Refactor PDE backend handling and evolution rate computation by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/775
  • Refactor type hints in PDE classes to use TArray for evolution rate functions by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/777
  • Implemented support for field collections in pde.PDE using torch backend by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/779
  • Refactor requirement handling to use groups instead of collections and update documentation by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/780
  • Add dtype parameter to backend methods and update related functionality by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/782
  • Improve time tolerance handling in simulation loop for accuracy by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/783
  • Clarify documentation regarding the use of None in function signatures for operators by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/785
  • Add torch backend support to for explicit time dependencies in pde.PDE class by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/784
  • Refine backend selection comments for clarity and add issue reference for module availability check by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/787
  • First version of a backend building on jax by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/790
  • Add JAX backend operators for polar, cylindrical, and spherical grids by @Copilot in https://github.com/zwicker-group/py-pde/pull/791
  • feat: add KleinGordonPDE class by @gpartin in https://github.com/zwicker-group/py-pde/pull/789
  • Refactor backend classes to inherit from BackendBase and streamline stepper implementation; update tests to remove unused backends by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/792
  • chore: update GitHub workflows to specify branch for push events by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/796
  • Implement make_inner_prod_operator and make_outer_prod_operator in JaxBackend by @Copilot in https://github.com/zwicker-group/py-pde/pull/795
  • Add safeguard for missing make_noise_realization and unify noise API across backends by @Copilot in https://github.com/zwicker-group/py-pde/pull/797

New Contributors

  • @Copilot made their first contribution in https://github.com/zwicker-group/py-pde/pull/767
  • @gpartin made their first contribution in https://github.com/zwicker-group/py-pde/pull/789

Full Changelog: https://github.com/zwicker-group/py-pde/compare/0.51.0...0.52.0

Files

zwicker-group/py-pde-0.52.0.zip

Files (2.0 MB)

Name Size Download all
md5:c65e50a50f87341acb8c61ea9a5ac61a
2.0 MB Preview Download

Additional details

Related works