petsc-3.14.6 2021-03-30
VecDestroy
Destroys a vector.
Synopsis
#include "petscvec.h"
PetscErrorCode VecDestroy(Vec *v)
Collective on Vec
Input Parameters
See Also
VecDuplicate(), VecDestroyVecs()
Level
beginner
Location
src/vec/vec/interface/vector.c
Examples
src/vec/vec/utils/tagger/tutorials/ex1.c.html
src/vec/vec/tutorials/ex1.c.html
src/vec/vec/tutorials/ex2.c.html
src/vec/vec/tutorials/ex3.c.html
src/vec/vec/tutorials/ex5.c.html
src/vec/vec/tutorials/ex6.c.html
src/vec/vec/tutorials/ex7.c.html
src/vec/vec/tutorials/ex8.c.html
src/vec/vec/tutorials/ex9.c.html
src/vec/vec/tutorials/ex10.c.html
src/vec/vec/tutorials/ex11.c.html
Implementations
VecDestroy_MPIFFTW in src/mat/impls/fft/fftw/fftw.c
VecDestroy_MPIKokkos in src/vec/vec/impls/mpi/kokkos/mpikok.kokkos.cxx
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_SeqKokkos in src/vec/vec/impls/seq/kokkos/veckok.kokkos.cxx
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