PETSc version 3.17.0
Fix/Edit manual page

# DMGetDMKSPWrite

get write access to private DMKSP context from a DM

### Synopsis

    #include "petscksp.h"
    PetscErrorCode DMGetDMKSPWrite(DM dm,DMKSP *kspdm)

Logically Collective

### Input Parameter

| dm | - DM to be used with KSP

### Output Parameter

| kspdm | - private DMKSP context

### See Also

DMGetDMKSP()

### Level

developer

### Location

src/ksp/ksp/interface/dmksp.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages