PetscSectionCreateGlobalSectionCensored#

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

Synopsis#

#include "petscsection.h"   
PetscErrorCode PetscSectionCreateGlobalSectionCensored(PetscSection s, PetscSF sf, PetscBool includeConstraints, PetscInt numExcludes, const PetscInt excludes[], PetscSection *gsection)

Input Parameters#

  • s - The PetscSection for the local field layout

  • sf - The PetscSF describing parallel layout of the section points

  • includeConstraints - By default this is PETSC_FALSE, meaning that the global field vector will not possess constrained dofs

  • numExcludes - The number of exclusion ranges

  • excludes - An array [start_0, end_0, start_1, end_1, …] where there are numExcludes pairs

Output Parameter#

Note#

This gives negative sizes and offsets to points not owned by this process

See Also#

PetscSection, PetscSection, PetscSectionCreate()

Level#

advanced

Location#

src/vec/is/section/interface/section.c


Edit on GitLab

Index of all PetscSection routines
Table of Contents for all manual pages
Index of all manual pages