#include "petscdm.h" #include "petscksp.h" #include "petscpcmg.h" #include "petscdmmg.h" #include "petscpc.h" PetscErrorCode DMMGSetNullSpace(DMMG *dmmg,PetscBool has_cnst,PetscInt n,PetscErrorCode (*func)(DMMG,Vec[]))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 DMMG
dmmg | - the context | |
has_cnst | - is the constant vector in the null space | |
n | - number of null vectors (excluding the possible constant vector) | |
func | - a function that fills an array of vectors with the null vectors (must be orthonormal), may be PETSC_NULL |
Level:advanced
Location:src/snes/utils/damg.c
Index of all DMMG routines
Table of Contents for all manual pages
Index of all manual pages
src/ksp/ksp/examples/tutorials/ex29.c.html
src/ksp/ksp/examples/tutorials/ex32.c.html
src/ksp/ksp/examples/tutorials/ex34.c.html
src/ksp/ksp/examples/tutorials/ex35.c.html
src/ksp/ksp/examples/tutorials/ex47.c.html
src/ksp/ksp/examples/tutorials/ex50.c.html
src/snes/examples/tutorials/ex7.c.html
src/snes/examples/tutorials/ex29.c.html