feat(linear-static-3d-euler-beam): step 20 - mkl-pardiso-solver

This commit is contained in:
KOKO\Mimi
2026-08-09 20:05:20 +09:00
parent 584c5c8714
commit 80f25e569a
8 changed files with 840 additions and 0 deletions
@@ -0,0 +1,23 @@
#pragma once
#include "fesa/solvers/linear/linear_solver.hpp"
#include <memory>
namespace fesa {
// Keeps every oneMKL type and the retained factorization in the private Impl.
class MklPardisoSolver final : public LinearSolver {
public:
MklPardisoSolver();
~MklPardisoSolver() override;
Status factorize(const SparseMatrix& matrix) override;
Status solve(const Vector& rhs, Vector& solution) const override;
private:
class Impl;
std::unique_ptr<Impl> impl_;
};
} // namespace fesa