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

KrylovSolver : is there any way to edit KrylovSolver class ??

+1 vote

Here is my problem:

I am looking for a way to get inside PETSc gmres method, I want to return the basis spanning the Krylov subspace at the convergence.

Thank you for your help

asked Nov 24, 2016 by Amexsa FEniCS Novice (350 points)

1 Answer

0 votes

Yes, you can do this. It is possible to get the PETSc objects directly from the dolfin wrappers. You can get the PETSc KSP object by calling PETScKrylovSolver::ksp().

answered Nov 24, 2016 by nate FEniCS Expert (17,050 points)
...