PetscDTJacobiNorm#

Compute the weighted L2 norm of a Jacobi polynomial.

Synopsis#

#include "petscdt.h" 
PetscErrorCode PetscDTJacobiNorm(PetscReal alpha, PetscReal beta, PetscInt n, PetscReal *norm)

\(\| P^{\alpha,\beta}_n \|_{\alpha,\beta}^2 = \int_{-1}^1 (1 + x)^{\alpha} (1 - x)^{\beta} P^{\alpha,\beta}_n (x)^2 dx.\)

Input Parameters#

  • alpha - the left exponent > -1

  • beta - the right exponent > -1

  • n - the polynomial degree

Output Parameter#

  • norm - the weighted L2 norm

See Also#

PetscQuadrature, PetscDTJacobiEval()

Level#

beginner

Location#

src/dm/dt/interface/dt.c


Edit on GitLab

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