Skip to main content

Symbolic calculus for partial differential equations (and variational forms)

Project description

CI status Run notebooks in Binder Documentation Status

SymPDE is a symbolic calculus library for partial differential equations and variational forms. It can be used to have similar capabilities as the fenics project, by extending and writing your own printing functions.

An example of use can be found in psydac or gelato.

Install

From PyPi

Simply run, for a local installation:

pip3 install --user sympde

or:

pip3 install sympde

for a global installation.

From sources

  • Standard mode:

    python3 -m pip install .
  • Development mode:

    python3 -m pip install --user -e .

For developers

Because many important features of SymPDE are only tested in Psydac, new PRs should also be tested against the test suite of Psydac. This can be done by opening a PR in Psydac, where the only change consists of installing the corresponding branch of SymPDE. To achieve this, one just needs to modify the line corresponding to sympde in the pyproject.yaml file.

For instance, to test a new SymPDE branch called my_feature, one should write

# Our packages from PyPi
'sympde @ https://github.com/pyccel/sympde/archive/refs/heads/my_feature.zip',

Similarly, to test an unreleased version of SymPDE called v0.18.4-trunk, one should write

# Our packages from PyPi
'sympde @ https://github.com/pyccel/sympde/archive/refs/tags/v0.18.4-trunk.zip',

Do not forget the comma at the end of the line, as this is an item in a list. Also, pay attention to the words head and tags in the path: the former is used for Git branches, the latter is used for Git tags (which may or may not correspond to GitHub releases).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sympde-0.19.0.tar.gz (104.1 kB view details)

Uploaded Source

Built Distribution

sympde-0.19.0-py3-none-any.whl (123.5 kB view details)

Uploaded Python 3

File details

Details for the file sympde-0.19.0.tar.gz.

File metadata

  • Download URL: sympde-0.19.0.tar.gz
  • Upload date:
  • Size: 104.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for sympde-0.19.0.tar.gz
Algorithm Hash digest
SHA256 d79a268fda8498b9f33cdb7a328ed3023a7730438fb4a7baa114f68b153eef88
MD5 d97c59ac4fd286f5e20acf6fb3cdc288
BLAKE2b-256 4dd8a0b23eec18c1729f0be87b920b836ab3f8c868a72a6a263109de44e76984

See more details on using hashes here.

File details

Details for the file sympde-0.19.0-py3-none-any.whl.

File metadata

  • Download URL: sympde-0.19.0-py3-none-any.whl
  • Upload date:
  • Size: 123.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for sympde-0.19.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56361b0c9b112956eca7ea6d9d118552ad6b4e9fa1462db6bd0a353adbb3d19f
MD5 8d2c0577de23d23fc44a00c5136b1489
BLAKE2b-256 ffbcb1ae0a056ec0374d66901825acd3bfb31b61d874359e850f2e9b743f90db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page