DMMGSetUp

Called after DMMGSetSNES() and (optionally) DMMGSetFromOptions()

Synopsis

#include "petscdmda.h"    
#include "petscdmmesh.h"  
#include "petscpcmg.h"    
#include "petscdmmg.h"  
#include "petscmat.h" 
PetscErrorCode  DMMGSetUp(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

Collective on DMMG

Input Parameter

dmmg -the context

Notes: Currently this must be called by the user (if they want to).

See Also

DMMGCreate(), DMMGDestroy(), DMMG, DMMGSetSNES(), DMMGSetKSP(), DMMGSolve(), DMMGSetMatType()

Level:advanced
Location:
src/snes/utils/damgsnes.c
Index of all DMMG routines
Table of Contents for all manual pages
Index of all manual pages src/ksp/ksp/examples/tutorials/ex47.c.html