Skip to main content
`Ctrl`+`K`

# PetscDTNodeType

A description of strategies for generating nodes (both quadrature nodes and nodes for Lagrange polynomials)

## Synopsis

    typedef enum {
      PETSCDTNODES_DEFAULT     = -1,
      PETSCDTNODES_GAUSSJACOBI = 0,
      PETSCDTNODES_EQUISPACED  = 1,
      PETSCDTNODES_TANHSINH    = 2
    } PetscDTNodeType;

## Values

- `PETSCDTNODES_DEFAULT` - Nodes chosen by PETSc

- `PETSCDTNODES_GAUSSJACOBI` - Nodes at either Gauss-Jacobi or Gauss-Lobatto-Jacobi quadrature points

- `PETSCDTNODES_EQUISPACED` - Nodes equispaced either including the endpoints or excluding them

- `PETSCDTNODES_TANHSINH` - Nodes at Tanh-Sinh quadrature points

## Note

A `PetscDTNodeType` can be paired with a `PetscBool` to indicate whether the nodes include endpoints or not, and in the case of `PETSCDT_GAUSSJACOBI` with exponents for the weight function.

## See Also

`PetscQuadrature`

## Level

intermediate

## Location

include/petscdt.h

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