sxs-collaboration / spectre

SpECTRE is a code for multi-scale, multi-physics problems in astrophysics and gravitational physics.
https://spectre-code.org
Other
153 stars 185 forks source link

Support complex numbers in serial linear solvers, add BLAS zdot #6117

Open nilsvu opened 1 week ago

nilsvu commented 1 week ago

Proposed changes

Adds complex numbers support to the serial linear solvers, which are used as preconditioners in the parallel linear solvers. Most notably, extends the GMRES algorithm to complex arithmetics, which involves the inner product on the vector space of complex numbers.

Upgrade instructions

Code review checklist

Further comments