feat(equation-and-linear-solve): step 2 — pardiso-linear-solver
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include <span>
|
||||
|
||||
#include <fesa/solvers/linear/linear_solver.hpp>
|
||||
|
||||
namespace fesa {
|
||||
|
||||
class PardisoLinearSolver final : public LinearSolver {
|
||||
public:
|
||||
PardisoLinearSolver();
|
||||
~PardisoLinearSolver() override;
|
||||
|
||||
[[nodiscard]] LinearSolveResult solve(
|
||||
const SymmetricCsr& matrix,
|
||||
std::span<const double> rhs) override;
|
||||
};
|
||||
|
||||
} // namespace fesa
|
||||
Reference in New Issue
Block a user