Finite element heat diffusion in JAX

A notebook that solves the one-dimensional heat equation in a solid bar.

This example walks through a finite element solution of the one-dimensional heat equation. It covers mesh construction, assembly of the global mass and stiffness matrices, Dirichlet boundary conditions, and implicit Euler time stepping with JAX.

Code and notebooks on GitHub