FreeFem / FreeFem-sources

FreeFEM source code
https://freefem.org/
Other
755 stars 188 forks source link

Add KSPSolveTranspose for PETSc #256

Closed cmd8 closed 1 year ago

cmd8 commented 1 year ago

Dear @prj-, I have noticed that KSPSolveTranspose() does not work properly on a MatNest (using -ksp_type preonly -pc_type fieldsplit -pc_fieldsplit_type schur -pc_fieldsplit_schur_precondition self. I get the correct solution for KSPSolve(), but not for KSPSolveTranspose(). Is this a bug or expected behavior?

prj- commented 1 year ago

Could you please share a MWE?