#include "petscda.h" #include "petscksp.h" #include "petscmg.h" #include "petscdmmg.h" #include "petscpc.h" PetscErrorCode PETSCSNES_DLLEXPORT DMMGSetNullSpace(DMMG *dmmg,PetscTruth has_cnst,PetscInt n,PetscErrorCode (*func)(DMMG,Vec[]))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 DA routines
Table of Contents for all manual pages
Index of all manual pages