PetscGaussLobattoLegendreElementMassDestroy — PETSc 3.25.2 documentation

Skip to main content
`Ctrl`+`K`

# PetscGaussLobattoLegendreElementMassDestroy

Free a 1D GLL elemental mass matrix created with `PetscGaussLobattoLegendreElementMassCreate()`

## Synopsis

    #include "petscdt.h"
    PetscErrorCode PetscGaussLobattoLegendreElementMassDestroy(PetscInt n, PetscReal *nodes, PetscReal *weights, PetscReal ***AA)

Not Collective; No Fortran Support

## Input Parameters

- n - number of GLL nodes (ignored)

- nodes - the GLL quadrature nodes (ignored)

- weights - the GLL quadrature weights (ignored)

- AA - the mass matrix to free; `*AA` is set to `NULL` on return

## See Also

`PetscGaussLobattoLegendreElementMassCreate()`, `PetscDTGaussLobattoLegendreQuadrature()`

## Level

beginner

## Location

src/dm/dt/interface/dt.c

Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages