petsc-3.10.5 2019-03-28
Report Typos and Errors

MatDestroy

Frees space taken by a matrix.

Synopsis

#include "petscmat.h" 
PetscErrorCode MatDestroy(Mat *A)
Collective on Mat

Input Parameter

A -the matrix

Level

beginner

Location

src/mat/interface/matrix.c

Examples

src/mat/examples/tutorials/ex1.c.html
src/mat/examples/tutorials/ex2.c.html
src/mat/examples/tutorials/ex4.c.html
src/mat/examples/tutorials/ex5.c.html
src/mat/examples/tutorials/ex8.c.html
src/mat/examples/tutorials/ex9.c.html
src/mat/examples/tutorials/ex10.c.html
src/mat/examples/tutorials/ex11.c.html
src/mat/examples/tutorials/ex12.c.html
src/mat/examples/tutorials/ex15.c.html
src/mat/examples/tutorials/ex16.c.html

Implementations

MatDestroy_HYPREStruct in src/dm/impls/da/hypre/mhyp.c
MatDestroy_HYPRESStruct in src/dm/impls/da/hypre/mhyp.c
MatDestroy_SeqUSFFT in src/dm/impls/da/usfft/matusfft.c
MatDestroy_BDdelta_deluxe_nonred in src/ksp/pc/impls/bddc/bddcfetidp.c
MatDestroy_ML in src/ksp/pc/impls/ml/ml.c
MatDestroy_MPIAdj in src/mat/impls/adj/mpi/mpiadj.c
MatDestroy_SparseElemental in src/mat/impls/aij/mpi/clique/clique.cxx
MatDestroy_MPIAIJCRL in src/mat/impls/aij/mpi/crl/mcrl.c
MatDestroy_MKL_CPARDISO in src/mat/impls/aij/mpi/mkl_cpardiso/mkl_cpardiso.c
MatDestroy_MPIAIJ in src/mat/impls/aij/mpi/mpiaij.c
MatDestroy_MPIAIJ_SeqsToMPI in src/mat/impls/aij/mpi/mpiaij.c
MatDestroy_MPIAIJCUSPARSE in src/mat/impls/aij/mpi/mpicusparse/mpiaijcusparse.cu
MatDestroy_MPIAIJ_MatMatMatMult in src/mat/impls/aij/mpi/mpimatmatmatmult.c
MatDestroy_MPIAIJ_MatMatMult in src/mat/impls/aij/mpi/mpimatmatmult.c
MatDestroy_MPIDense_MatTransMatMult in src/mat/impls/aij/mpi/mpimattransposematmult.c
MatDestroy_MPIAIJ_PtAP in src/mat/impls/aij/mpi/mpiptap.c
MatDestroy_MPIAIJViennaCL in src/mat/impls/aij/mpi/mpiviennacl/mpiaijviennacl.cxx
MatDestroy_MUMPS in src/mat/impls/aij/mpi/mumps/mumps.c
MatDestroy_Pastix in src/mat/impls/aij/mpi/pastix/pastix.c
MatDestroy_STRUMPACK in src/mat/impls/aij/mpi/strumpack/strumpack.c
MatDestroy_SuperLU_DIST in src/mat/impls/aij/mpi/superlu_dist/superlu_dist.c
MatDestroy_SeqAIJ in src/mat/impls/aij/seq/aij.c
MatDestroy_SeqAIJMKL in src/mat/impls/aij/seq/aijmkl/aijmkl.c
MatDestroy_SeqAIJPERM in src/mat/impls/aij/seq/aijperm/aijperm.c
MatDestroy_SeqAIJSELL in src/mat/impls/aij/seq/aijsell/aijsell.c
MatDestroy_SeqAIJCRL in src/mat/impls/aij/seq/crl/crl.c
MatDestroy_Essl in src/mat/impls/aij/seq/essl/essl.c
MatDestroy_SeqAIJ_Inode in src/mat/impls/aij/seq/inode2.c
MatDestroy_KLU in src/mat/impls/aij/seq/klu/klu.c
MatDestroy_LUSOL in src/mat/impls/aij/seq/lusol/lusol.c
MatDestroy_matlab in src/mat/impls/aij/seq/matlab/aijmatlab.c
MatDestroy_SeqAIJ_MatMatMatMult in src/mat/impls/aij/seq/matmatmatmult.c
MatDestroy_SeqAIJ_MatMatMultTrans in src/mat/impls/aij/seq/matmatmult.c
MatDestroy_SeqAIJ_MatTransMatMult in src/mat/impls/aij/seq/matmatmult.c
MatDestroy_SeqAIJ_PtAP in src/mat/impls/aij/seq/matptap.c
MatDestroy_SeqAIJ_RARt in src/mat/impls/aij/seq/matrart.c
MatDestroy_SeqDense_MatTransMatMult in src/mat/impls/aij/seq/mattransposematmult.c
MatDestroy_MKL_PARDISO in src/mat/impls/aij/seq/mkl_pardiso/mkl_pardiso.c
MatDestroy_SeqAIJCUSPARSE in src/mat/impls/aij/seq/seqcusparse/aijcusparse.cu
MatDestroy_SeqAIJViennaCL in src/mat/impls/aij/seq/seqviennacl/aijviennacl.cxx
MatDestroy_SuperLU in src/mat/impls/aij/seq/superlu/superlu.c
MatDestroy_UMFPACK in src/mat/impls/aij/seq/umfpack/umfpack.c
MatDestroy_MPIBAIJ in src/mat/impls/baij/mpi/mpibaij.c
MatDestroy_SeqBAIJ in src/mat/impls/baij/seq/baij.c
MatDestroy_SeqBAIJMKL in src/mat/impls/baij/seq/baijmkl/baijmkl.c
MatDestroy_BlockMat in src/mat/impls/blockmat/seq/blockmat.c
MatDestroy_Composite in src/mat/impls/composite/mcomposite.c
MatDestroy_SeqCUFFT in src/mat/impls/cufft/cufft.cu
MatDestroy_MPIDense in src/mat/impls/dense/mpi/mpidense.c
MatDestroy_MatTransMatMult_MPIDense_MPIDense in src/mat/impls/dense/mpi/mpidense.c
MatDestroy_MatMatMult_MPIDense_MPIDense in src/mat/impls/dense/mpi/mpidense.c
MatDestroy_SeqDense in src/mat/impls/dense/seq/dense.c
MatDestroy_Dummy in src/mat/impls/dummy/matdummy.c
MatDestroy_Elemental in src/mat/impls/elemental/matelem.cxx
MatDestroy_FFT in src/mat/impls/fft/fft.c
MatDestroy_FFTW in src/mat/impls/fft/fftw/fftw.c
MatDestroy_HYPRE in src/mat/impls/hypre/mhypre.c
MatDestroy_IS in src/mat/impls/is/matis.c
MatDestroy_LocalRef in src/mat/impls/localref/mlocalref.c
MatDestroy_LRC in src/mat/impls/lrc/lrc.c
MatDestroy_SeqMAIJ in src/mat/impls/maij/maij.c
MatDestroy_MPIMAIJ in src/mat/impls/maij/maij.c
MatDestroy_MFFD in src/mat/impls/mffd/mffd.c
MatDestroy_Nest in src/mat/impls/nest/matnest.c
MatDestroy_Normal in src/mat/impls/normal/normm.c
MatDestroy_Preallocator in src/mat/impls/preallocator/matpreallocator.c
MatDestroy_MPISBAIJ in src/mat/impls/sbaij/mpi/mpisbaij.c
MatDestroy_CHOLMOD in src/mat/impls/sbaij/seq/cholmod/sbaijcholmod.c
MatDestroy_SeqSBAIJ in src/mat/impls/sbaij/seq/sbaij.c
MatDestroy_Scatter in src/mat/impls/scatter/mscatter.c
MatDestroy_MPISELL in src/mat/impls/sell/mpi/mpisell.c
MatDestroy_SeqSELL in src/mat/impls/sell/seq/sell.c
MatDestroy_Shell in src/mat/impls/shell/shell.c
MatDestroy_SubMatrix in src/mat/impls/submat/submat.c
MatDestroy_HT in src/mat/impls/transpose/htransm.c
MatDestroy_Transpose in src/mat/impls/transpose/transm.c

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