petsc-3.7.1 2016-05-15
Report Typos and Errors

DMGetDMKSP

get read-only private DMKSP context from a DM

Synopsis

#include "petscksp.h" 
PetscErrorCode DMGetDMKSP(DM dm,DMKSP *kspdm)
Not Collective Many br

Input Argument

dm -DM to be used with KSP Many br

Output Argument

snesdm -private DMKSP context Many br

Many br

Notes

Use DMGetDMKSPWrite() if write access is needed. The DMKSPSetXXX API should be used wherever possible. Many br

See Also

DMGetDMKSPWrite()

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