slepc-3.15.0 2021-03-31
Report Typos and Errors

DSSetCompact

Switch to compact storage of matrices.

Synopsis

#include "slepcds.h" 
PetscErrorCode DSSetCompact(DS ds,PetscBool comp)
Logically Collective on ds

Input Parameter

ds  - the direct solver context
comp  - a boolean flag

Notes

Compact storage is used in some DS types such as DSHEP when the matrix is tridiagonal. This flag can be used to indicate whether the user provides the matrix entries via the compact form (the tridiagonal DS_MAT_T) or the non-compact one (DS_MAT_A).

The default is PETSC_FALSE.

See Also

DSGetCompact()

Location: src/sys/classes/ds/interface/dsbasic.c
Index of all DS routines
Table of Contents for all manual pages
Index of all manual pages