VecsCreateSeqWithArray#

Creates a Vecs object holding p sequential Vecs of length m that use a user-provided contiguous array as storage

Synopsis#

Collective

Input Parameters#

  • comm - the MPI communicator (typically PETSC_COMM_SELF)

  • p - the number of vectors

  • m - the length of each vector

  • a - the array of length p*m used as storage for the vectors

Output Parameter#

  • x - the newly created Vecs

See Also#

Vecs, VecsCreateSeq(), VecsDuplicate(), VecsDestroy(), VecCreateSeqWithArray()

Level#

advanced

Location#

src/vec/vec/utils/vecs.c


Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages