<div dir="ltr">Hello PETSc,<div><br></div><div>I'm attempting to solve a JFNK problem for a system where I only have a function to compute the residual, but no matrix.</div><div><br></div><div>I wanted to know if there exists functionality in PETSc to do the following:</div><div><br></div><div>1) approximate a null space from a set of Krylov vectors</div><div><br></div><div>2) remove such a null space if it exists</div><div><br></div><div>I'm vaguely familiar with the MatNullSpaceCreate/Remove() functionality, however I don't know the precise form of a null space, so I don't have a set of vectors I can assemble and pass to this.</div><div><br></div><div>Cheers, Dave. </div></div>