PetscErrorCode PetscGLLCreate(PetscInt n,PetscGLLCreateType type,PetscGLL *gll)Not Collective
n | - number of grid nodes | |
type | - PETSCGLL_VIA_LINEARALGEBRA or PETSCGLL_VIA_NEWTON |
Notes: For n > 30 the Newton approach computes duplicate (incorrect) values for some nodes because the initial guess is apparently not close enough to the desired solution
These are useful for implementing spectral methods based on Gauss-Lobatto-Legendre (GLL) nodes
See http://epubs.siam.org/doi/abs/10.1137/110855442 http://epubs.siam.org/doi/abs/10.1137/120889873 for better ways to compute GLL nodes
Level:beginner
Location:src/sys/classes/gll/petscgll.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages