petsc-3.12.5 2020-03-29
Report Typos and Errors

PetscGaussLobattoLegendreElementLaplacianCreate

computes the Laplacian for a single 1d GLL element

Synopsis

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

Input Parameter

Output Parameter

Notes

Destroy this with PetscGaussLobattoLegendreElementLaplacianDestroy()

You can access entries in this array with AA[i][j] but in memory it is stored in contiguous memory, row oriented (the array is symmetric)

See Also

PetscDTGaussLobattoLegendreQuadrature(), PetscGaussLobattoLegendreElementLaplacianDestroy()

Level

beginner

Location

src/dm/dt/interface/dt.c

Examples

src/ksp/ksp/examples/tutorials/ex68.c.html
src/ksp/ksp/examples/tutorials/ex69.c.html
src/ts/examples/tutorials/ex50.c.html
src/tao/unconstrained/examples/tutorials/spectraladjointassimilation.c.html

Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages
n - the number of GLL nodes
nodes - the GLL nodes
weights - the GLL weights
A - the stiffness element