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