<div dir="ltr">Hi all,<div><br></div><div>I am trying to solve two different nonlinear equations. I first solve the first nonlinear equation using a snes within which a ksp is preconditioned by a pcasm. And then I want to use the solution of the first nonlinear equation as an initial guess to solve the second nonlinear equation, but this time I want to switch the preconditioner to pcmg. How could I finish this by creating snes only once, then using snessolve() twice, and switching preconditioner for linear solvers? </div>
<div><br></div><div><br></div><div>Fande </div></div>