slepc-3.18.0 2022-10-01
Report Typos and Errors

# DSSetMethod

Selects the method to be used to solve the problem.

### Synopsis

    #include "slepcds.h"
    PetscErrorCode DSSetMethod(DS ds,PetscInt meth)

Logically Collective on ds

### Input Parameters

| ds | - the direct solver context
| meth | - an index identifying the method

### Options Database Key

| -ds_method <meth> | - Sets the method

### See Also

DSGetMethod()

### 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