:orphan:
# PetscSectionGetConstrainedStorageSize
Return the size of an array or local `Vec` capable of holding all unconstrained degrees of freedom in a `PetscSection` 
## Synopsis
```
#include "petscsection.h"   
PetscErrorCode PetscSectionGetConstrainedStorageSize(PetscSection s, PetscInt *size)
```
Not Collective


## Input Parameter

- ***s -*** the `PetscSection`



## Output Parameter

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





## See Also
 [PetscSection](sec_petscsection), `PetscSection`, `PetscSectionGetStorageSize()`, `PetscSectionGetOffset()`, `PetscSectionCreate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/section/interface/section.c.html#PetscSectionGetConstrainedStorageSize">src/vec/is/section/interface/section.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/section/interface/section.c)


[Index of all PetscSection routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
