petsc-3.8.4 2018-03-24
Report Typos and Errors

SNESHasDM

Whether snes has dm

Synopsis

#include "petscsnes.h"  
PetscErrorCode  SNESHasDM(SNES snes,PetscBool *hasdm)
Not collective but all processes must return the same value

Input Parameter

snes -the nonlinear solver object

Output Parameter

hasdm -a flag indicates whether there is dm in snes

See Also

SNESGetDM(), SNESSetDM(), KSPSetDM(), KSPGetDM()

Level:intermediate
Location:
src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages