|
MFEM
v3.2
Finite element discretization library
|
Direct sparse solver using KLU. More...
#include <solvers.hpp>
Public Member Functions | |
| KLUSolver () | |
| KLUSolver (SparseMatrix &A) | |
| virtual void | SetOperator (const Operator &op) |
| Set/update the solver for the given operator. More... | |
| 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 | ~KLUSolver () |
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) const |
| Prints operator with input size n and output size m in matlab format. More... | |
| virtual | ~Operator () |
Public Attributes | |
| klu_common | Common |
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 | |
| SparseMatrix * | mat |
| klu_symbolic * | Symbolic |
| klu_numeric * | Numeric |
Protected Attributes inherited from mfem::Operator | |
| int | height |
| int | width |
Direct sparse solver using KLU.
Definition at line 364 of file solvers.hpp.
|
inline |
Definition at line 374 of file solvers.hpp.
|
inline |
Definition at line 377 of file solvers.hpp.
|
virtual |
Definition at line 1888 of file solvers.cpp.
|
protected |
Definition at line 1824 of file solvers.cpp.
Action of the transpose operator.
Reimplemented from mfem::Operator.
Definition at line 1874 of file solvers.cpp.
|
virtual |
Set/update the solver for the given operator.
Implements mfem::Solver.
Definition at line 1829 of file solvers.cpp.
|
mutable |
Definition at line 389 of file solvers.hpp.
|
protected |
Definition at line 367 of file solvers.hpp.
|
protected |
Definition at line 369 of file solvers.hpp.
|
protected |
Definition at line 368 of file solvers.hpp.
1.8.5