Dear PETSc developers,<br><br>my question is what type of array is need for <font size="4">VecCreateMPIWithArray?<br>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?<br>
</font>
<pre><font size="4">PetscErrorCode  VecCreateMPIWithArray(MPI_Comm comm,PetscInt n,PetscInt N,const PetscScalar array[],Vec *vv)</font></pre>I didn&#39;t find more information about the array from the manual.<br><a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecCreateMPIWithArray.html">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecCreateMPIWithArray.html</a><br>
<br>Thanks a lot,<br>Yujie<br>