VecDestroyVecs

Frees a block of vectors obtained with VecDuplicateVecs().

Synopsis

int VecDestroyVecs(Vec *vv,int m)
Collective on Vec

Input Parameters

vv - pointer to array of vector pointers
m - the number of vectors previously obtained

Fortran Note

The Fortran interface is slightly different from that given below. See the Fortran chapter of the users manual andpetsc/src/vec/examples for details.

Keywords

vector, destroy

See Also

VecDuplicateVecs(), VecDestroyVecsF90()

Examples

src/vec/examples/tutorials/ex1f.F
src/vec/examples/tutorials/ex1.c

Location: src/vec/interface/vector.c
Vector Index
Table of Contents