PetscSectionSetBlockStarts#

Sets a table indicating which points start new blocks

Synopsis#

#include "petscsection.h"   
PetscErrorCode PetscSectionSetBlockStarts(PetscSection s, PetscBT blockStarts)

Not Collective

Input Parameters#

Notes#

The table is on [0, pEnd - pStart). PETSc takes ownership of the PetscBT when it is passed in and will destroy it. The user should not destroy it.

This information is used by DMCreateMatrix() to create a variable block size description which is set using MatSetVariableBlockSizes().

See Also#

Low-level Vector Communication, IS, PetscSection, PetscSectionGetBlockStarts(), PetscSectionCreate(), DMCreateMatrix(), MatSetVariableBlockSizes()

Level#

intermediate

Location#

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


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