PETScLUSolver.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
PETScLUSolver
¶ Parent class(es)
This class implements the direct solution (LU factorization) for linear systems of the form Ax = b. It is a wrapper for the LU solver of PETSc.
-
PETScLUSolver
(std::string method = "default")¶ Constructor
Constructor
Set operator (matrix)
Set operator (matrix)
-
const GenericLinearOperator &
get_operator
() const¶ Get operator (matrix)
-
std::size_t
solve
(GenericVector &x, const GenericVector &b)¶ Solve linear system Ax = b
-
std::size_t
solve
(GenericVector &x, const GenericVector &b, bool transpose)¶ Solve linear system Ax = b
-
std::size_t
solve
(const GenericLinearOperator &A, GenericVector &x, const GenericVector &b)¶ Solve linear system Ax = b
-
std::size_t
solve
(const PETScMatrix &A, PETScVector &x, const PETScVector &b)¶ Solve linear system Ax = b
-
std::size_t
solve_transpose
(GenericVector &x, const GenericVector &b)¶ Solve linear system A^Tx = b
-
std::size_t
solve_transpose
(const GenericLinearOperator &A, GenericVector &x, const GenericVector &b)¶ Solve linear system A^Tx = b
-
std::size_t
solve_transpose
(const PETScMatrix &A, PETScVector &x, const PETScVector &b)¶ Solve linear system A^Tx = b
-
std::string
str
(bool verbose) const¶ Return informal string representation (pretty-print)
-
boost::shared_ptr<KSP>
ksp
() const¶ Return PETSc KSP pointer
-
static std::vector<std::pair<std::string, std::string>>
methods
()¶ Return a list of available solver methods
-
static Parameters
default_parameters
()¶ Default parameter values
-