Skip to main content

EquidistancePoint_Line

This function returns the equidistance points on edge.

note

This routine returns the points in "VEFC" format, which means xij(:,1:2) are the end points, and xij(:, 3:) are the internal points.

Interface

INTERFACE
MODULE PURE FUNCTION EquidistancePoint_Line(order, xij) &
& RESULT(ans)
INTEGER(I4B), INTENT(IN) :: order
!! order
REAL(DFP), INTENT(IN) :: xij(2)
!! coorindates of point 1 and point 2
REAL(DFP), ALLOCATABLE :: ans(:)
!! equidistance points
END FUNCTION EquidistancePoint_Line
END INTERFACE
xij
  • xij(1) is 1D coordinate of point 1.
  • xij(2) is 1D coordinate of point 2.