DMMGSetOptionsPrefix

Sets the prefix used for the solvers inside a DMMG

Synopsis

#include "petscdm.h"   
#include "petscksp.h"  
#include "petscpcmg.h"   
#include "petscdmmg.h" 
#include "petscpc.h"   
PetscErrorCode  DMMGSetOptionsPrefix(DMMG *dmmg,const char prefix[])
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

Logically Collective on MPI_Comm

Input Parameters

dmmg - the DMMG object created with DMMGCreate()
prefix - the prefix string

See Also

DMMGDestroy(), DMMGSetUser(), DMMGGetUser(), DMMGCreate(), DMMGSetNullSpace()

Level:intermediate
Location:
src/snes/utils/damg.c
Index of all DMMG routines
Table of Contents for all manual pages
Index of all manual pages src/snes/examples/tutorials/ex31.c.html