[petsc-users] Array of SNES's

Justin Chang jychang48 at gmail.com
Tue Jan 5 20:53:03 CST 2016

Hi all,

Is it possible to create an array of SNES's? If I have a problem size N
degrees of freedom, I want each dof to have its own SNES solver (basically
a pointer to N SNES's). Reason for this is because I am performing a
"post-processing" step where after my global solve, each entry of my
solution vector of size N will go through some algebraic manipulation.

If I did a standard LU solve for these individual SNES's, I could use the
same snes and this issue would be moot. But i am using the Variational
Inequality, which basically requires a fresh SNES for each problem.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160105/11cea4e4/attachment.html>

More information about the petsc-users mailing list