This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

What mean is set_operators(A,P)?

0 votes

Dear all
In stokes_iterative demo:
A, bb = assemble_system(a, L, bcs)
P, btmp = assemble_system(b, L, bcs)
solver.set_operators(A, P)
solver.solve(U.vector(), bb)

solver.set_operators(A, P) is a little bit unclear.
Does this mean the system P^{-1} A X=P^{-1}bb will be solved?
Thanks!

asked Jul 15, 2015 by Guodong Zhang FEniCS Novice (420 points)
...