# PetscSectionCreateSubmeshSection
Create a new, smaller section with support on the submesh 
## Synopsis
```
#include "petscsection.h"   
PetscErrorCode PetscSectionCreateSubmeshSection(PetscSection s, IS subpointMap, PetscSection *subs)
```
Collective


## Input Parameters

- ***s           -*** the `PetscSection`
- ***subpointMap -*** a sorted list of points in the original mesh which are in the submesh



## Output Parameter

- ***subs -*** the subsection





## Note
The points are renumbered from 0, and the section offsets now refer to a new, smaller vector.


## Developer Note
The use of the term Submesh is confusing and unneeded


## See Also
 [PetscSection](sec_petscsection), `PetscSection`, `PetscSectionCreateSubdomainSection()`, `PetscSectionCreateSubsection()`, `DMPlexGetSubpointMap()`, `PetscSectionCreate()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/section/interface/section.c.html#PetscSectionCreateSubmeshSection">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)  
