#include "petscdmplex.h" PetscErrorCode DMPlexSetAnchors(DM dm, PetscSection anchorSection, IS anchorIS)After specifying the layout of constraints with DMPlexSetAnchors(), one specifies the constraints by calling DMGetConstraints() and filling in the entries in the constraint matrix.
collective on dm
dm | - The DMPlex object | |
anchorSection | - The section that describes the mapping from constrained points to the anchor points listed in anchorIS. Must have a local communicator (PETSC_COMM_SELF or derivative). | |
anchorIS | - The list of all anchor points. Must have a local communicator (PETSC_COMM_SELF or derivative). |
The reference counts of anchorSection and anchorIS are incremented.
Level:intermediate
Location:src/dm/impls/plex/plex.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages