Skip to main content

EquidistanceInPoint_Line

This function returns the equidistance points strictly inside an edge.

  • All points are inside the interval
  • Points are in increasing order

Interface

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