Dear PETSc developers, my question is what type of array is need for VecCreateMPIWithArray? it is parallel distributed, that each processor holds local values of the array? or each processor has a copy of all the values of the array?
PetscErrorCode VecCreateMPIWithArray(MPI_Comm comm,PetscInt n,PetscInt N,const PetscScalar array[],Vec *vv) I didn't find more information about the array from the manual. http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecCreateMPIWithArray.html Thanks a lot, Yujie -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120413/6a9e8aba/attachment.htm>
