DMGetDefaultConstraints#
Get the PetscSection and Mat that specify the local constraint interpolation. See DMSetDefaultConstraints() for a description of the purpose of constraint interpolation.
Synopsis#
#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode DMGetDefaultConstraints(DM dm, PetscSection *section, Mat *mat, Vec *bias)
not Collective
Input Parameter#
- dm - The - DM
Output Parameters#
- section - The - PetscSectiondescribing the range of the constraint matrix: relates rows of the constraint matrix to dofs of the default section. Returns- NULLif there are no local constraints.
- mat - The - Matthat interpolates local constraints: its width should be the layout size of the default section. Returns- NULLif there are no local constraints.
- bias - Vector containing bias to be added to constrained dofs 
Note#
This gets borrowed references, so the user should not destroy the PetscSection, Mat, or Vec.
See Also#
Level#
advanced
Location#
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages