Published February 3, 2026 | Version 0.51.0
Software Open

zwicker-group/py-pde: 0.51.0

  • 1. Max Planck Institute for Dynamics and Self-Organization
  • 2. UIUC

Description

Added first version of a torch backend. This backend does support basic differential operators and evolving PDEs, but it is not yet feature-complete. In particular, some special boundary conditions, interpolation, and some other special methods are not supported. Moreover, the torch backend has only be tested with CPU devices, but the long-term plan is to support GPUs, too.

What's Changed

  • Clarify docstring for get_boundary_values method and adjust parameter type hint for boundary conditions by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/739
  • Added pytorch backend by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/741
  • Refactor data setter signatures to include valid data parameter in Numba and Numpy backends by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/742
  • Refactor backend and tracker registration; update imports and deprecate old functions by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/743
  • Enhance support for complex data types in noise generation functions and tests by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/744
  • Clarify error messages regarding complex data types in DataFieldBase by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/745
  • Provide the integrate method for the torch backend by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/746
  • Refactor module availability caching to improve clarity and consistency in the misc module and its tests. by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/747
  • Store chosen backend in diagnostic information by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/748
  • Refactor tensor operations in Tensor2Field for improved functionality and clarity by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/749
  • Add plot_components method to VectorField for enhanced visualization by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/750
  • Enhance plotting in DataFieldBase with symmetric color limits and diverging colormap by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/751
  • Enhance Tensor2Field with improved expression validation and documentation by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/752
  • Refactor imports in multiple modules for faster import of the py-pde package by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/753
  • Add Helmholtz decomposition functionality and corresponding tests by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/754
  • Enhance performance plotting scripts and documentation by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/755
  • Update performance images: replace PDF and PNG files for improved clarity by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/756
  • Add typing_extensions requirement to various files by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/757
  • Update .gitignore and improve documentation across various files by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/758
  • Added support for user expressions and PDE class to torch backend by @david-zwicker in https://github.com/zwicker-group/py-pde/pull/759

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

Files

zwicker-group/py-pde-0.51.0.zip

Files (1.9 MB)

Name Size Download all
md5:e579744b35c9806540f59232e83aaa13
1.9 MB Preview Download

Additional details

Related works