> I'm interested in using the PETSc SNES nonlinear solvers. To do this, I
> believe I need to be able to switch between the deal II PETScWrappers and
> the PETSc Vec class, since the PETSc solvers are looking for PETSc vectors.
> I've looked at the SLEPc eigensolver wrappers and PETSc linear solver
> wrappers but I don't understand how the vectors were passed to and from
> PETSc and SLEPc. Could you suggest where in the source code to look for an
> example, or advise me on how to do this?

The PETScWrapper classes should all have conversion operators to get the 
underlying PETSc objects out.

W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to