DSGetType#
Gets the DS type name (as a string) from the DS context.
Synopsis#
#include "slepcds.h"
PetscErrorCode DSGetType(DS ds,DSType *type)
Not Collective
Input Parameter#
ds - the direct solver context
Output Parameter#
type - name of the direct solver
Note#
type should not be retained for later use as it will be an invalid pointer
if the DSType of ds is changed.
See Also#
DS: Direct Solver (or Dense System), DSSetType(), PetscObjectTypeCompare(), PetscObjectTypeCompareAny()
Level#
intermediate
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