Metadata-Version: 2.3
Name: fastfem
Version: 0.0.1
Summary: A Python package for solving PDEs with the finite element method and automatic differentiation
Project-URL: Source, https://github.com/fastfem/fastfem
Project-URL: Documentation, https://fastfem.com/
Project-URL: Changelog, https://fastfem.com/changelog
Author: Kentaro Hanson, Sacha Escudier
Author-email: Sina Atalay <dev@atalay.biz>
License: Apache-2.0
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.12
Requires-Python: <3.13,>=3.12
Requires-Dist: gmsh==4.13.1
Requires-Dist: jax==0.4.35
Requires-Dist: matplotlib==3.9.3
Requires-Dist: numpy==2.2.0
Requires-Dist: pyvista[all]==0.44.2
Description-Content-Type: text/markdown

# FastFEM

[![test](https://github.com/fastfem/fastfem/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/fastfem/fastfem/actions/workflows/test.yaml)
[![coverage](https://coverage-badge.samuelcolvin.workers.dev/fastfem/fastfem.svg)](https://coverage-badge.samuelcolvin.workers.dev/redirect/fastfem/fastfem)
[![docs](<https://img.shields.io/badge/docs-mkdocs-rgb(0%2C79%2C144)>)](https://fastfem.com)
[![pypi-version](<https://img.shields.io/pypi/v/fastfem?label=PyPI%20version&color=rgb(0%2C79%2C144)>)](https://pypi.python.org/pypi/fastfem)
[![pypi-downloads](<https://img.shields.io/pepy/dt/fastfem?label=PyPI%20downloads&color=rgb(0%2C%2079%2C%20144)>)](https://pypistats.org/packages/fastfem)

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:

```bash
pip install fastfem
```

## Usage

Check out the [examples](https://github.com/fastfem/fastfem/tree/main/examples) directory for usage examples.