AMDiS 2.11-git
The Adaptive Multi-Dimensional Simulation Toolbox
 
Loading...
Searching...
No Matches
UmfpackRunner< M, X, Y > Class Template Reference

Wrapper for the external UMFPACK solver More...

#include <UmfpackRunner.hpp>

Inherits RunnerInterface, and LinearSolverInterface< M, X, Y >.

Classes

struct  Creator
 

Public Member Functions

 UmfpackRunner (std::string const &prefix)
 Constructor. Reads UMFPACK parameters from initfile.
 
void init (M const &A) override
 Implements LinearSolverInterface::init()
 
void finish () override
 Implements LinearSolverInterface::finish()
 
void apply (X &x, Y const &b, Dune::InverseOperatorResult &stat) override
 Implements LinearSolverInterface::apply()
 

Static Protected 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
 

Detailed Description

template<class M, class X, class Y>
class AMDiS::UmfpackRunner< M, X, Y >

Wrapper for the external UMFPACK solver

This is a direct solver for large sparse matrices.

Member Function Documentation

◆ apply()

template<class M , class X , class Y >
void apply ( X &  x,
Y const &  b,
Dune::InverseOperatorResult &  stat 
)
inlineoverridevirtual

◆ finish()

template<class M , class X , class Y >
void finish ( )
inlineoverridevirtual

◆ init()

template<class M , class X , class Y >
void init ( M const &  A)
inlineoverridevirtual

The documentation for this class was generated from the following file: