[petsc-dev] Creation of snes->vec_func

Barry Smith bsmith at mcs.anl.gov
Wed Dec 21 19:02:14 CST 2011

On Dec 21, 2011, at 4:51 PM, Jed Brown wrote:

> On Wed, Dec 21, 2011 at 16:47, Barry Smith <bsmith at mcs.anl.gov> wrote:
>   You are asking. "What if they already set the VISS solver, do you really want to overwrite it"?
>   If that is your question then my response is "good point, if it is already set to a VI solver then it should not be changed, but if it is not set to a VI solver then it should be set to the vi solver."
> Fine. How shall we determine whether the current solver is a VI solver?

   Our current technology is limited to an ugly hardwired list :-)

More information about the petsc-dev mailing list