[petsc-users] about array in VecCreateMPIWithArray()

recrusader recrusader at gmail.com
Fri Apr 13 10:37:15 CDT 2012


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>


More information about the petsc-users mailing list