GenericLinearSolver.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
GenericLinearSolver
¶ Parent class(es)
This class provides a general solver for linear systems Ax = b.
Set operator (matrix)
Set operator (matrix) and preconditioner matrix
-
std::size_t
solve
(const GenericLinearOperator &A, GenericVector &x, const GenericVector &b)¶ Solve linear system Ax = b
-
std::size_t
solve
(GenericVector &x, const GenericVector &b)¶ Solve linear system Ax = 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
(GenericVector &x, const GenericVector &b)¶ Solve linear system A^Tx = b
-
std::string
parameter_type
() const¶ Return parameter type: “krylov_solver” or “lu_solver”
-
void
update_parameters
(const Parameters ¶meters)¶ Update solver parameters (useful for LinearSolver wrapper)