LinearSolver.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
LinearSolver
¶ Parent class(es)
This class provides a general solver for linear systems Ax = b.
-
LinearSolver
(std::string method = "default", std::string preconditioner = "default")¶ Create linear solver
Set the operator (matrix)
Set the operator (matrix) and preconitioner 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
-
static Parameters
default_parameters
()¶ Default parameter values
-
std::string
parameter_type
() const¶ Return parameter type: “krylov_solver” or “lu_solver”
-
void
update_parameters
(const Parameters ¶meters)¶ Update solver parameters (pass parameters down to wrapped implementation)
-