#include "petscvec.h" PetscErrorCode VecCreateMPI(MPI_Comm comm,PetscInt n,PetscInt N,Vec *v)Collective on MPI_Comm
comm | - the MPI communicator to use | |
n | - local vector length (or PETSC_DECIDE to have calculated if N is given) | |
N | - global vector length (or PETSC_DETERMINE to have calculated if n is given) |