# PetscDTNodeType
A description of strategies for generating nodes (both quadrature nodes and nodes for Lagrange polynomials) 
## Synopsis
```
typedef enum {
  PETSCDTNODES_DEFAULT = -1,
  PETSCDTNODES_GAUSSJACOBI,
  PETSCDTNODES_EQUISPACED,
  PETSCDTNODES_TANHSINH
} PetscDTNodeType;
```


```none
`PETSCDTNODES_DEFAULT` - Nodes chosen by PETSc
```
```none
`PETSCDTNODES_GAUSSJACOBI` - Nodes at either Gauss-Jacobi or Gauss-Lobatto-Jacobi quadrature points
```
```none
`PETSCDTNODES_EQUISPACED` - Nodes equispaced either including the endpoints or excluding them
```
```none
`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.


## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscdt.h.html#PetscDTNodeType">include/petscdt.h</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscdt.h)


[Index of all DT routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
