petsc-3.5.4 2015-05-23
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
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