# PetscFEGeomGetChunk
Get a chunk of cells in the group as a `PetscFEGeom` 
## Synopsis
```
#include "petscfe.h" 
PetscErrorCode PetscFEGeomGetChunk(PetscFEGeom *geom, PetscInt cStart, PetscInt cEnd, PetscFEGeom **chunkGeom)
```

## Input Parameters

- ***geom   -*** `PetscFEGeom` object
- ***cStart -*** The first cell in the chunk
- ***cEnd   -*** The first cell not in the chunk



## Output Parameter

- ***chunkGeom -*** The chunk of cells





## Note
Use `PetscFEGeomRestoreChunk()` to return the result


## See Also
 `PetscFEGeom`, `PetscFEGeomRestoreChunk()`, `PetscFEGeomCreate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/fe/interface/fegeom.c.html#PetscFEGeomGetChunk">src/dm/dt/fe/interface/fegeom.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/fe/interface/fegeom.c)


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