#include <UmfpackRunner.hpp>
Inherits RunnerInterface< Mat, Vec >, and RunnerInterface< Mat, Vec >.
Public Member Functions | |
UmfpackRunner (std::string const &prefix) | |
Constructor. Reads UMFPACK parameters from initfile. | |
void | init (M const &A) override |
Is called at the beginning of a solution procedure. | |
void | exit () override |
Is called at the end of a solution procedure. | |
int | solve (M const &A, X &x, Y const &b, SolverInfo &solverInfo) override |
Implements RunnerInterface::solveImpl() | |
Public Member Functions inherited from RunnerInterface< Mat, Vec > | |
virtual | ~RunnerInterface ()=default |
virtual destructor | |
virtual int | adjointSolve (M const &A, X &x, Y const &b, SolverInfo &solverInfo) |
Solve the system A*x = b. | |
Static Public Member Functions | |
static void | umfpack_error_exit (std::string solutionPhase, int code) |
Protected Attributes | |
std::shared_ptr< SolverType > | solver_ |
bool | storeSymbolic_ = false |
int | symmetricStrategy_ = 0 |
double | allocInit_ = 0.7 |
Wrapper for the external UMFPACK solver
This is a direct solver for large sparse matrices.