[petsc-users] nest matrix and the corresponding vector format

Mike Wick michael.wick.1980 at gmail.com
Mon Aug 6 16:06:22 CDT 2018


Hi PETSc team:

I have a question regarding the compatibility between the nest matrix and
the vec object. My understanding is that one should create and use nest
vectors when the matrix is in the nest form.

In the tutorial example
http://www.mcs.anl.gov/petsc/petsc-current/src/snes/examples/tutorials/ex70.c.html

I noticed that the vectors are created as regular MPI vectors, with the
local partition left for PETSC_DECIDE, in lines 171-173. I wander if the
underlying structure of the vectors are compatible with the nest matrix. If
not, will that create some unnecessary communication work?

Look forward to your suggestions.

Best,

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


More information about the petsc-users mailing list