Skip to main content

RecursiveNode1D

Returns the barycentric coordinates of recursive nodes on the line.

Interface

INTERFACE
MODULE FUNCTION RecursiveNode1D(order, ipType, &
& domain) RESULT(ans)
INTEGER(I4B), INTENT(IN) :: order
!! order >= 0
INTEGER(I4B), INTENT(IN) :: ipType
!! interpolation point type
!! Equidistance
!! LobattoGaussJacobi
!! LobattoGaussChebyshev
!! LobattoGaussGegenbauer
!! GaussJacobi
!! GaussChebyshev
!! GaussGegenbauer
CHARACTER(*), OPTIONAL, INTENT(IN) :: domain
!! unit (0,1)
!! biunit (-1, 1)
!! equilateral
REAL(DFP), ALLOCATABLE :: ans(:, :)
!! barycentric coordinates, in xiJ format
!! size(ans,1) = 2 corresponding to b0 and b1
!! size(ans,2) total number of points
END FUNCTION RecursiveNode1D
END INTERFACE
order

Order of element.

ipType

Interpolation point type. Following values are allowed.

  • Equidistance
  • GaussJacobi
  • GaussJacobiLobatto
  • GaussChebyshev
  • GaussChebyshevLobatto
  • GaussLegendre
  • GaussLegendreLobatto
  • GaussUltraspherical
  • GaussUltrasphericalLobatto
domain

It specifies the domain of the element. It is an optional argument. It can take following values:

  • UNIT, unit segment [0,1][0,1], in this case SIZE(ans,1) is 1.
  • BIUNIT, biunit segment [1,1][-1,1], in this case SIZE(ans, 1) is 1.
  • BARYCENTRIC, in this case SIZE(ans,1) is 2.