PETScLUSolver¶
-
class
dolfin.cpp.la.
PETScLUSolver
(*args)¶ Bases:
dolfin.cpp.la.GenericLUSolver
,dolfin.cpp.la.PETScObject
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.
Overloaded versions
PETScLUSolver(method=”default”)
Constructor
PETScLUSolver(A, method=”default”)
Constructor
-
static
default_parameters
()¶ Default parameter values
-
get_operator
()¶ Get operator (matrix)
-
ksp
()¶ Return petsc4py representation of PETSc LU solver
-
static
methods
()¶ Return a list of available solver methods
-
set_operator
()¶ Overloaded versions
set_operator(A)
Set operator (matrix)
set_operator(A)
Set operator (matrix)
-
solve
()¶ Overloaded versions
solve(x, b)
Solve linear system Ax = b
solve(x, b, transpose)
Solve linear system Ax = b
solve(A, x, b)
Solve linear system Ax = b
solve(A, x, b)
Solve linear system Ax = b
-
solve_transpose
()¶ Overloaded versions
solve_transpose(x, b)
Solve linear system A^Tx = b
solve_transpose(A, x, b)
Solve linear system A^Tx = b
solve_transpose(A, x, b)
Solve linear system A^Tx = b
-
thisown
¶ The membership flag