Skip to main content

EquidistancePoint

This function returns the nodal coordinates of higher order triangle element

  • the layout is always "VEFC"
  • coordinates are distributed uniformly
  • these coordinates can be used to construct lagrange polynomials
  • the returned coordinates are in xiJx_{iJ} format.
  • the node numbering is according to Gmsh convention, VEFC.

Interface 1

INTERFACE
MODULE RECURSIVE PURE FUNCTION EquidistancePoint_Quadrangle(order, xij) RESULT(ans)
INTEGER(I4B), INTENT(IN) :: order
!! order
REAL(DFP), OPTIONAL, INTENT(IN) :: xij(:, :)
!! Nodal coordinates of quadrangle
!! number of rows = 2
!! number of cols = 4
REAL(DFP), ALLOCATABLE :: ans(:, :)
!! returned coordinates of interpolation points in $x_{iJ}$ format.
!! Number of rows in ans is equal to the 2
!! Number of columns in ans is equal to the number of points
END FUNCTION EquidistancePoint_Quadrangle
END INTERFACE
order

Order of Lagrange polynomials in x and y directions.

xij

Nodal coordinates of quadrangle, the number of rows in xij is 2, and the number of columns in xij is 4.

ans

Returns coordinates of interpolation points in xiJx_{iJ} format. Number of rows in the ans is equal to the 2. Number of columns in the ans is equal to the number of points

Interface 2

INTERFACE EquidistancePoint_Quadrangle
MODULE RECURSIVE PURE FUNCTION EquidistancePoint_Quadrangle2(p, q, &
& xij) RESULT(ans)
INTEGER(I4B), INTENT(IN) :: p
!! order in x direction
INTEGER(I4B), INTENT(IN) :: q
!! order in y direction
REAL(DFP), OPTIONAL, INTENT(IN) :: xij(:, :)
!! Nodal coordinates of quadrangle
!! number of rows = 2 or 3
!! number of cols = 4
REAL(DFP), ALLOCATABLE :: ans(:, :)
!! returned coordinates of interpolation points in $x_{iJ}$ format.
!! Number of rows in ans is equal to the 2
!! Number of columns in ans is equal to the number of points
END FUNCTION EquidistancePoint_Quadrangle2
END INTERFACE EquidistancePoint_Quadrangle
p, q

p and q are the order of Lagrange polynomials in x and y directions, respectively.

xij

Nodal coordinates of quadrangle, the number of rows in xij is 2, and the number of columns in xij is 4.

ans

Returns coordinates of interpolation points in xiJx_{iJ} format. Number of rows in the ans is equal to the 2. Number of columns in the ans is equal to the number of points