# PetscSectionSetUseFieldOffsets
Set the flag to use field offsets directly in a global section, rather than just the point offset 
## Synopsis
```
#include "petscsection.h"   
PetscErrorCode PetscSectionSetUseFieldOffsets(PetscSection s, PetscBool flg)
```
Not Collective


## Input Parameters

- ***s   -*** the global `PetscSection`
- ***flg -*** the flag





## See Also
 [PetscSection](sec_petscsection), `PetscSectionSym`, `PetscSectionGetUseFieldOffsets()`, `PetscSectionSetChart()`, `PetscSectionCreate()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/section/interface/section.c.html#PetscSectionSetUseFieldOffsets">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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
