#include "petscdm.h" #include "petscdmlabel.h" PetscErrorCode DMGetDefaultConstraints(DM dm, PetscSection *section, Mat *mat)not collective
section | - The PetscSection describing the range of the constraint matrix: relates rows of the constraint matrix to dofs of the default section. Returns NULL if there are no local constraints. | |
mat | - The Mat that interpolates local constraints: its width should be the layout size of the default section. Returns NULL if there are no local constraints. |
Note: This gets borrowed references, so the user should not destroy the PetscSection or the Mat.
Level:advanced
Location:src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages