<div dir="ltr">Hello<div><br></div><div>Is it possible to combine the SNESSetFunction and SNESSetJacobian into one call, i.e. SNESSetFunctionAndJacobian which takes unique function pointer to compute rhs and Jacobian concurrently? The reason for it is that the finite element code I'm working on contribute to global rhs and stiffness at one call, so to cater for SNES would break the existing interface.</div><div><br></div><div>Another supporting point for that feature is that for irreversible problem, the rhs (equilirium) and Jacobian shall not be decoupled, since they are not able to return to the past state after proceed.</div><div><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Giang</div><div dir="ltr"><br></div></div></div>
</div></div>