Shenfun: High performance spectral Galerkin computing platform
Mikael Mortensen · The Journal of Open Source Software · 2018
Shenfun is an open-source computing platform for solving partial differential equations (PDEs) by the spectral Galerkin method.The user interface to shenfun is very similar to FEniCS (https://fenicsproject.org), but applications are limited to simple, yet multidimensional, tensor product grids.Shenfun enables fast development of efficient and accurate PDE solvers (spectral order and accuracy), in the comfortable high-level Python language.The spectral accuracy is ensured by using high-order global orthogonal basis functions (Fourier, Legendre and Chebyshev), as opposed to finite element codes like FEniCS that are using low-order local basis functions.Efficiency is ensured through vectorization, parallelization (MPI) and by moving critical routines to Cython (https://cython.org).