:orphan: # PetscGaussLobattoLegendreElementGradientDestroy frees the gradient for a single 1d GLL element obtained with `PetscGaussLobattoLegendreElementGradientCreate()` ## Synopsis ``` #include "petscdt.h" PetscErrorCode PetscGaussLobattoLegendreElementGradientDestroy(PetscInt n, PetscReal *nodes, PetscReal *weights, PetscReal ***AA, PetscReal ***AAT) ``` Not Collective ## Input Parameters - ***n -*** the number of GLL nodes - ***nodes -*** the GLL nodes - ***weights -*** the GLL weights - ***AA -*** the stiffness element - ***AAT -*** the transpose of the element ## See Also `PetscDTGaussLobattoLegendreQuadrature()`, `PetscGaussLobattoLegendreElementLaplacianCreate()`, `PetscGaussLobattoLegendreElementAdvectionCreate()` ## Level beginner ## Location src/dm/dt/interface/dt.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/interface/dt.c) [Index of all DT routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)