MFEM
v3.1
Finite element discretization library
|
Direct sparse solver using UMFPACK. More...
#include <solvers.hpp>
Public Member Functions | |
UMFPackSolver (bool _use_long_ints=false) | |
UMFPackSolver (SparseMatrix &A, bool _use_long_ints=false) | |
virtual void | SetOperator (const Operator &op) |
Set/update the solver for the given operator. More... | |
void | SetPrintLevel (int print_lvl) |
virtual void | Mult (const Vector &b, Vector &x) const |
Operator application. More... | |
virtual void | MultTranspose (const Vector &b, Vector &x) const |
Action of the transpose operator. More... | |
virtual | ~UMFPackSolver () |
Public Member Functions inherited from mfem::Solver | |
Solver (int s=0, bool iter_mode=false) | |
Solver (int h, int w, bool iter_mode=false) | |
Initialize a Solver with height 'h' and width 'w'. More... | |
Public Member Functions inherited from mfem::Operator | |
Operator (int s=0) | |
Construct a square Operator with given size s (default 0) More... | |
Operator (int h, int w) | |
int | Height () const |
Get the height (size of output) of the Operator. Synonym with NumRows. More... | |
int | NumRows () const |
int | Width () const |
Get the width (size of input) of the Operator. Synonym with NumCols. More... | |
int | NumCols () const |
virtual Operator & | GetGradient (const Vector &x) const |
Evaluate the gradient operator at the point x. More... | |
void | PrintMatlab (std::ostream &out, int n=0, int m=0) |
Prints operator with input size n and output size m in matlab format. More... | |
virtual | ~Operator () |
Public Attributes | |
double | Control [UMFPACK_CONTROL] |
double | Info [UMFPACK_INFO] |
Public Attributes inherited from mfem::Solver | |
bool | iterative_mode |
If true, use the second argument of Mult as an initial guess. More... | |
Protected Member Functions | |
void | Init () |
Protected Attributes | |
bool | use_long_ints |
SparseMatrix * | mat |
void * | Numeric |
SuiteSparse_long * | AI |
SuiteSparse_long * | AJ |
Protected Attributes inherited from mfem::Operator | |
int | height |
int | width |
Direct sparse solver using UMFPACK.
Definition at line 332 of file solvers.hpp.
|
inline |
Definition at line 346 of file solvers.hpp.
|
inline |
Definition at line 348 of file solvers.hpp.
|
virtual |
Definition at line 1791 of file solvers.cpp.
|
protected |
Definition at line 1610 of file solvers.cpp.
Action of the transpose operator.
Reimplemented from mfem::Operator.
Definition at line 1757 of file solvers.cpp.
|
virtual |
Set/update the solver for the given operator.
Implements mfem::Solver.
Definition at line 1625 of file solvers.cpp.
|
inline |
Definition at line 354 of file solvers.hpp.
|
protected |
Definition at line 338 of file solvers.hpp.
|
protected |
Definition at line 338 of file solvers.hpp.
double mfem::UMFPackSolver::Control[UMFPACK_CONTROL] |
Definition at line 343 of file solvers.hpp.
|
mutable |
Definition at line 344 of file solvers.hpp.
|
protected |
Definition at line 336 of file solvers.hpp.
|
protected |
Definition at line 337 of file solvers.hpp.
|
protected |
Definition at line 335 of file solvers.hpp.