nekStab / LightKrylov

Lightweight implementation of Krylov subspace techniques in Fortran.
BSD 3-Clause "New" or "Revised" License
18 stars 0 forks source link

Wrappers for basis orthogonalization/normalization #111

Closed Simkern closed 3 weeks ago

Simkern commented 3 weeks ago
  1. Added and deployed orthogonalization/normalization wrappers throughout the code.

New definitions:

orthogonalize_against_basis
orthonormalize_basis
  1. Multiple dispatch wrappers for norml and log2. innerprod, linear_combination, axpby_basis and copy_basis exported directly in LightKrylov.

  2. Switch from eigenvalue- to svd-based algorithm for sqrtm. Alternative kept for now.