fix: use residual stopping for FEAST eigenanalysis

This commit is contained in:
KOKO\Mimi
2026-09-10 01:52:49 +09:00
parent 76192508fd
commit 7ebdce373c
12 changed files with 209 additions and 17 deletions
@@ -137,7 +137,7 @@ Status Validate(const Domain& domain, const EigenAnalysisState& state,
{2U, 12},
{3U, 20},
{4U, 1},
{5U, 1},
{5U, 0},
{13U, 0},
{26U, 1},
{27U, 1},
@@ -174,7 +174,7 @@ void SetControls(std::array<MKL_INT, 128>& fpm, const bool count) {
fpm[2] = 12;
fpm[3] = 20;
fpm[4] = 1;
fpm[5] = 1;
fpm[5] = 0; // Trace convergence alone can leave individual pairs inaccurate.
fpm[13] = 0;
fpm[26] = 1;
fpm[27] = 1;