custom preconditioner: how are they treated?
Asked by
Nico Schlömer
For the sake of trying it out, I'd like to precondition my system with the mass matrix of the system. To this end, I did something along the lines of
solver = PETScKrylovSolv
A_petsc = as_backend_type(A)
M_petsc = as_backend_type(M)
solver.
b_petsc = as_backend_type(b)
phi_petsc = as_backend_
solver.
This tells Dolfin to solve the system
M^{-1} A x = M^{-1} b
-- right? How are the systems M^{-1} solved in each step?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Nico Schlömer for more information if necessary.
To post a message you must log in.