4#include <deal.II/lac/sparse_direct.h>
11 template <
typename SparseMatrixType,
typename VectorType>
21 if (!
matrix)
throw std::runtime_error(
"UMFPack::invert: matrix not initialized");
26 int solve(
const VectorType &src, VectorType &dst,
const double)
28 if (!
matrix)
throw std::runtime_error(
"UMFPack::solve: matrix not initialized");
Definition abstract_linear_solver.hh:9
dealii::SparseDirectUMFPACK solver
Definition UMFPack.hh:35
void init(const SparseMatrixType &matrix)
Definition UMFPack.hh:17
int solve(const VectorType &src, VectorType &dst, const double)
Definition UMFPack.hh:26
bool invert()
Definition UMFPack.hh:19
UMFPack()
Definition UMFPack.hh:15
const SparseMatrixType * matrix
Definition UMFPack.hh:34
Definition complex_math.hh:14