Skip to content

linstabpy 1.0.0

Choose a tag to compare

@ricardofrantz ricardofrantz released this 30 Oct 15:46
· 26 commits to main since this release
v1.0.0
e4a0405

First stable release of linstabpy: stability and resolvent analysis of compressible viscous flows on curvilinear grids (SBP finite differences, PETSc/SLEPc, MUMPS).

Install

pip install linstabpy
linstabpy --version

The PyPI package has the CLI, config validation and the NumPy tools. Solving needs complex-scalar PETSc/SLEPc with MUMPS: clone the repository and run bash install.sh (see the README).

Changes that affect existing results

  • Resolvent sign. The resolvent is now H(omega) = [(gamma - i*omega) I - L0]^-1, the response to a forcing exp(-i*omega*t). For W != 0 and beta != 0 the gain map is mirrored in omega, and forcing and response modes change in every case. Set solver.resolvent_sign_convention: matlab_parity to reproduce old results.
  • MPI. All ranks now take the same walk-or-refactor and GMRES-deadline decisions. A multi-rank resolvent_map could deadlock before.
  • Compatibility shims removed. CASE1/CASE2 and LINSTAB2D_* environment aliases, deprecated exports, solve_transpose (use solve_adjoint), the default CLI config and the default Re.
  • Python 3.14 is the default of install.sh. PETSc and SLEPc stay at 3.24.2.

Full list, with the effect on old results: CHANGELOG.md.

Documentation: https://linstabpy.vercel.app/