:orphan:
# PetscFEPushforwardGradient
Map the reference element function gradient to real space 
## Synopsis
```
#include "petscfe.h" 
PetscErrorCode PetscFEPushforwardGradient(PetscFE fe, PetscFEGeom *fegeom, PetscInt Nv, PetscScalar vals[])
```

## Input Parameters

- ***fe     -*** The `PetscFE`
- ***fegeom -*** The cell geometry
- ***Nv     -*** The number of function gradient values
- ***vals   -*** The function gradient values



## Output Parameter

- ***vals   -*** The transformed function gradient values





## Notes
This just forwards the call onto `PetscDualSpacePushforwardGradient()`.

It only handles transformations when the embedding dimension of the geometry in fegeom is the same as the reference dimension.


## See Also
 `PetscFE`, `PetscFEGeom`, `PetscDualSpace`, `PetscFEPushforward()`, `PetscDualSpacePushforwardGradient()`, `PetscDualSpacePushforward()`

## Level
advanced

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


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


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