Stochastic PDE solvers (SPDE) built on top of exponax: Exponential Euler-Maruyama stepper for the stochastic Allen-Cahn equation with additive/multiplicative Q-Wiener noise, tamed nonlinearities, ensemble utilities, Richardson extrapolation, and a Strang-split hybrid SSA scaffold.
// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
// how to help
// readme
exponax-spde extends the Exponax library
with first-class support for stochastic partial differential equations (SPDEs).
It follows exponaxβs design philosophy. Every stochastic stepper is a
differentiable Equinox Module,
JIT-compilable, vmappable, and GPU/TPU-ready, while adding the noise
infrastructure, ensemble utilities, and hybrid coupling tools that deterministic exponax does not need.
Note: this package requires
exponax >= 0.2.0as a dependency. It was developed following Felix KΓΆhlerβs suggestion to build custom SPDE solvers on top of exponax rather than inside it. See the related exponax PR #101 for context.
Installation
pip install "exponax-spde @ git+https://github.com/GVourvachakis/exponax-spde"
For development, use Poetry 2.4.2 with the committed dependency lock:
git clone https://github.com/GVourvachakis/exponax-spde.git
cd exponax-spde
poetry install -E dev -E test -E docs
Requires Python 3.10+, JAX 0.6.2+, and exponax >=0.2.0,<0.3.