DMSetNearNullSpaceConstructor#
Provide a callback function which constructs the near-nullspace for a given field, defined with DMAddField()
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMSetNearNullSpaceConstructor(DM dm, PetscInt field, PetscErrorCode (*nullsp)(DM dm, PetscInt origField, PetscInt field, MatNullSpace *nullSpace))
Logically Collective; No Fortran Support
Input Parameters#
dm - The
DM
field - The field number for the nullspace
nullsp - A callback to create the near-nullspace
Calling sequence of nullsp
#
See Also#
DM Basics, DM
, DMAddField()
, DMGetNearNullSpaceConstructor()
, DMSetNullSpaceConstructor()
, DMGetNullSpaceConstructor()
, DMCreateSubDM()
, DMCreateSuperDM()
,
MatNullSpace
Level#
intermediate
Location#
Examples#
src/ts/tutorials/ex53.c
src/snes/tutorials/ex17.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages