Skip to main content

A Python package for solving PDEs with the finite element method and automatic differentiation

Project description

FastFEM

test coverage docs pypi-version pypi-downloads

FastFEM is planned to be a general-purpose finite element method (FEM) library with a focus on great Python interface and automatic differentiation using JAX. Currently, it can only solve

$$ \frac{\partial^2 f(x,y,t)}{\partial x^2} + \frac{\partial^2 f(x,y,t)}{\partial y^2}=h(f) \frac{\partial f(x,y,t)}{\partial t} + g(x,y) $$

where $f(x,y,t)$, $h(f)$, and $g(x,y)$ are scalar functions, $x$ and $y$ are spatial coordinates, and $t$ is time.

Installation

  1. Install Python 3.12.
  2. Install FastFEM using pip:
pip install fastfem

Usage

Check out the examples directory for usage examples.

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

fastfem-0.0.1.tar.gz (601.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastfem-0.0.1-py3-none-any.whl (48.2 kB view details)

Uploaded Python 3

File details

Details for the file fastfem-0.0.1.tar.gz.

File metadata

  • Download URL: fastfem-0.0.1.tar.gz
  • Upload date:
  • Size: 601.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for fastfem-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d1e03320341b2c66a98cfddccac069deddee663167e965cf33146375776e52f6
MD5 deeeba09eb26723829fcae69d99a75be
BLAKE2b-256 7dcaef7f5c5811672b1fc59ecbeef3c5a291558192eea4c79f849da6168da493

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastfem-0.0.1.tar.gz:

Publisher: publish-to-pypi.yaml on fastfem/fastfem

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fastfem-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: fastfem-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 48.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for fastfem-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 52fdf9a2eca1848759f6d9a47b18eff41eea4bf4aaf34ba45e26c034d6e22b77
MD5 586c18977ec367162c00cd15cfc98291
BLAKE2b-256 9994779d5dca16fb1492a657a9a65e89d3ccc9f44fd3bd5dbd0403d4d8c8958a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastfem-0.0.1-py3-none-any.whl:

Publisher: publish-to-pypi.yaml on fastfem/fastfem

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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