petsc-3.12.5 2020-03-29
Report Typos and Errors

VecDestroy

Destroys a vector.

Synopsis

#include "petscvec.h"   
PetscErrorCode  VecDestroy(Vec *v)
Collective on Vec

Input Parameters

v -the vector

See Also

VecDuplicate(), VecDestroyVecs()

Level

beginner

Location

src/vec/vec/interface/vector.c

Examples

src/vec/vec/utils/tagger/examples/tutorials/ex1.c.html
src/vec/vec/examples/tutorials/ex1.c.html
src/vec/vec/examples/tutorials/ex2.c.html
src/vec/vec/examples/tutorials/ex3.c.html
src/vec/vec/examples/tutorials/ex5.c.html
src/vec/vec/examples/tutorials/ex6.c.html
src/vec/vec/examples/tutorials/ex7.c.html
src/vec/vec/examples/tutorials/ex8.c.html
src/vec/vec/examples/tutorials/ex9.c.html
src/vec/vec/examples/tutorials/ex10.c.html
src/vec/vec/examples/tutorials/ex11.c.html

Implementations

VecDestroy_MPIFFTW in src/mat/impls/fft/fftw/fftw.c
VecDestroy_MPICUDA in src/vec/vec/impls/mpi/mpicuda/mpicuda.cu
VecDestroy_MPIViennaCL in src/vec/vec/impls/mpi/mpiviennacl/mpiviennacl.cxx
VecDestroy_MPI in src/vec/vec/impls/mpi/pdvec.c
VecDestroy_Nest in src/vec/vec/impls/nest/vecnest.c
VecDestroy_Node in src/vec/vec/impls/node/vecnode.c
VecDestroy_Seq in src/vec/vec/impls/seq/bvec2.c
VecDestroy_SeqCUDA in src/vec/vec/impls/seq/seqcuda/veccuda2.cu
VecDestroy_SeqViennaCL in src/vec/vec/impls/seq/seqviennacl/vecviennacl.cxx

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