petsc-3.4.5 2014-06-29

PetscSectionGetStorageSize

Return the size of an arary 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(), 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