PetscGaussLobattoLegendreElementMassCreate#

Build the elemental mass matrix for a single 1D Gauss-Lobatto-Legendre (GLL) spectral element

Synopsis#

Not Collective; No Fortran Support

Input Parameters#

  • n - number of GLL nodes

  • nodes - the GLL quadrature nodes

  • weights - the GLL quadrature weights

Output Parameter#

  • AA - newly allocated n x n mass matrix as PetscReal **

Note#

Free with PetscGaussLobattoLegendreElementMassDestroy().

See Also#

PetscDTGaussLobattoLegendreQuadrature(), PetscGaussLobattoLegendreElementMassDestroy(), PetscGaussLobattoLegendreElementLaplacianCreate(), PetscGaussLobattoLegendreElementAdvectionCreate()

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