/*S
DMMG - Data structure to easily manage multi-level non-linear solvers on grids managed by DM
This is being deprecated. Use KSPSetDM() for linear problems and SNESSetDM() for nonlinear problems.
See src/ksp/ksp/examples/tutorials/ex45.c and src/snes/examples/tutorials/ex57.c
Fortran Users: see also DMMGArray
.seealso: DMCompositeCreate(), DMComposite, DM, DMMGCreate(), DMMGSetKSP(), DMMGSetSNES(), DMMGSetInitialGuess(),
DMMGSetNullSpace(), DMMGSetMatType()
S*/
typedef struct _n_DMMG* DMMG;
This is being deprecated. Use KSPSetDM() for linear problems and SNESSetDM() for nonlinear problems.
See src/ksp/ksp/examples/tutorials/ex45.c and src/snes/examples/tutorials/ex57.c
You can use DMMGArrayGetDMMG(DMMGArray,DMMG,ierr) to obtain the DMMG from a DMMG.
Level:intermediate
Location:src/snes/utils/../../../include/petscdmmg.h
Index of all DMMG routines
Table of Contents for all manual pages
Index of all manual pages