petsc-dev 2014-07-25
Report Typos and Errors

PetscSectionGetStorageSize

Return the size of an array or local Vec capable of holding all the degrees of freedom.

Synopsis

#include "petscvec.h"   
PetscErrorCode PetscSectionGetStorageSize(PetscSection s, PetscInt *size)
Not collective

Input Parameters

s - the PetscSection
point - the point

Output Parameter

size -the size of an array which can hold all the dofs

See Also

PetscSectionGetOffset(), PetscSectionGetConstrainedStorageSize(), PetscSectionCreate()

Level:intermediate
Location:
src/vec/is/utils/vsectionis.c
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ts/examples/tutorials/ex11.c.html