DMMGSetUp

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

Synopsis

#include "petscda.h"    
#include "petscmg.h"    
#include "petscdmmg.h"  
#include "petscmat.h" 
PetscErrorCode PETSCSNES_DLLEXPORT DMMGSetUp(DMMG *dmmg)
Collective on DMMG

Input Parameter

dmmg -the context

Notes: Currently this must be called by the user (if they want to). It checks to see if fieldsplit preconditioner is being used and manages it.

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

Examples

src/ksp/ksp/examples/tutorials/ex22.c.html