[petsc-users] some problem with the VecCreateGhost.

Jed Brown jedbrown at mcs.anl.gov
Thu Aug 15 09:25:15 CDT 2013


丁老师 <ztdepyahoo at 163.com> writes:

> What the function of "restore the local form",  

It synchronizes state.

> can i use VecDestroy to free the local form only;

No, use VecGhostRestoreLocalForm.  Also, do not perform operations with
the global Vec before restoring the local form.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130815/e8aaaa69/attachment.pgp>


More information about the petsc-users mailing list