petsc-3.7.1 2016-05-15
Report Typos and Errors

PetscSectionCreateGlobalSectionLabel

Create a section describing the global field layout using the local section and an SF describing the section point overlap.

Synopsis

#include "petscdmlabel.h"   
#include "petscis.h"        
PetscErrorCode PetscSectionCreateGlobalSectionLabel(PetscSection s, PetscSF sf, PetscBool includeConstraints, DMLabel label, PetscInt labelValue, PetscSection *gsection)

Input Parameters

+ s - The PetscSection for the local field layout Many br. sf - The SF describing parallel layout of the section points Many br. includeConstraints - By default this is PETSC_FALSE, meaning that the global field vector will not possess constrained dofs Many br. label - The label specifying the points Many br- labelValue - The label stratum specifying the points Many br

Output Parameter

. gsection - The PetscSection for the global field layout Many br

Note: This gives negative sizes and offsets to points not owned by this process Many br

Many br

See Also

PetscSectionCreate()

Level:developer
Location:
src/dm/labeldmlabel.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages