DMSetGlobalSection#
Set the PetscSection encoding the global data layout for the DM.
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMSetGlobalSection(DM dm, PetscSection section)
Input Parameters#
dm - The
DMsection - The PetscSection, or
NULL
Note#
Any existing PetscSection will be destroyed. The section PetscSF and any local-to-global mapping previously derived from the sections are invalidated
and will be rebuilt on their next access. A mapping built by the DM implementation itself, such as by DMDA in DMSetUp(), is kept.
See Also#
Level#
intermediate
Location#
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages