VecRestoreArray

Yixun Liu enjoywm at cs.wm.edu
Sun Mar 1 10:07:41 CST 2009


Hi,
Is VecRestoreArray used to let the vector can be freed correctly?

If I use VecGetArray to get a pointer and then change some values, are
they changed in the vector?


Thanks.

Yixun


More information about the petsc-users mailing list