# PetscSpacePTrimmedSetFormDegree
Set the form degree of the trimmed polynomials. 
## Synopsis
```
#include "petscfe.h" 
PetscErrorCode PetscSpacePTrimmedSetFormDegree(PetscSpace sp, PetscInt formDegree)
```

## Input Parameters

- ***sp         -*** the function space object
- ***formDegree -*** the form degree



## Options Database Key

- ***-petscspace_ptrimmed_form_degree <int> -*** The trimmed polynomial form degree





## See Also
 `PetscSpace`, `PetscDTAltV`, `PetscDTPTrimmedEvalJet()`, `PetscSpacePTrimmedGetFormDegree()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/space/impls/ptrimmed/spaceptrimmed.c.html#PetscSpacePTrimmedSetFormDegree">src/dm/dt/space/impls/ptrimmed/spaceptrimmed.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/space/impls/ptrimmed/spaceptrimmed.c.html#PetscSpacePTrimmedSetFormDegree_Ptrimmed">PetscSpacePTrimmedSetFormDegree_Ptrimmed in src/dm/dt/space/impls/ptrimmed/spaceptrimmed.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/space/impls/ptrimmed/spaceptrimmed.c)


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