DSRestoreMat#
Restores the matrix after DSGetMat() was called.
Synopsis#
#include "slepcds.h"
PetscErrorCode DSRestoreMat(DS ds,DSMatType m,Mat *A)
Not Collective
Input Parameters#
ds - the direct solver context
m - the requested matrix
A - the fetched
Matobject
Note#
A call to this function must match a previous call of DSGetMat().
See Also#
DS: Direct Solver (or Dense System), DSGetMat(), DSRestoreArray(), DSRestoreArrayReal()
Level#
advanced
Location#
Examples#
src/sys/classes/ds/tests/test14f.F90
src/sys/classes/ds/tests/test15.c
src/sys/classes/ds/tests/test17.c
src/sys/classes/ds/tests/test21.c
src/sys/classes/ds/tests/test22.c
src/sys/classes/ds/tests/test24.c
Index of all DS routines Table of Contents for all manual pages Index of all manual pages